Re: [PATCH 2/2] btrfs: move inline function code to header file

2012-09-30 Thread David Sterba
On Sat, Sep 29, 2012 at 04:07:47PM +0800, Robin Dong wrote: From: Robin Dong san...@taobao.com 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:

[PATCH 2/2] btrfs: move inline function code to header file

2012-09-29 Thread Robin Dong
From: Robin Dong san...@taobao.com 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