]> git.kernelconcepts.de Git - karo-tx-linux.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>
Mon, 1 Oct 2012 19:35:08 +0000 (15:35 -0400)
commitb456b5af70735e9b548d0bb200aeb2be2b207465
tree1286ff19b876904ca74f74c5c67700b6ae5d60da
parentc80b7c4f5b4a56ee3c0fe3534c0300b10cf73b77
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