]> git.karo-electronics.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>
Thu, 4 Oct 2012 13:40:11 +0000 (09:40 -0400)
commit0b2d449ef0bac53ad6f89f852f38152e524f54d6
treefdb5a746a1b52437be27ffc2d4bbd93ebb78cac5
parenta53101ad00585d17dbcbd11e74bc4b928ff8353f
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