]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: move inline function code to header file
authorRobin Dong <sanbai@taobao.com>
Sat, 29 Sep 2012 08:07:47 +0000 (02:07 -0600)
committerChris Mason <chris.mason@fusionio.com>
Tue, 9 Oct 2012 13:15:43 +0000 (09:15 -0400)
commit163eea67fba4beabc8d87dba73a1ab86a37e3e95
tree11fccd8b9dccb61c64dd7901c03230671e5b0aac
parent46afe3c6687edc312f2e02b0e4bd46f5b08cbb3c
btrfs: move inline function code to header file

When building btrfs from kernel code, it will report:

fs/btrfs/extent_io.h:281: warning: 'extent_buffer_page' declared inline after being called
fs/btrfs/extent_io.h:281: warning: previous declaration of 'extent_buffer_page' was here
fs/btrfs/extent_io.h:280: warning: 'num_extent_pages' declared inline after being called
fs/btrfs/extent_io.h:280: warning: previous declaration of 'num_extent_pages' was here

because of the wrong declaration of inline functions.

Signed-off-by: Robin Dong <sanbai@taobao.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h