]> git.karo-electronics.de Git - linux-beck.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)
commit479ed9abdbeec5d9ed0005f3bee9c9bc06a102bb
tree11fccd8b9dccb61c64dd7901c03230671e5b0aac
parent7a2d6a64645b38d7040bbd031c7a7b2655f5d976
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