]> git.baikalelectronics.ru Git - kernel.git/commit
bdi: Remove "inline" keyword from exported I_BDEV() implementation
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 26 Jun 2015 11:58:32 +0000 (13:58 +0200)
committerJens Axboe <axboe@fb.com>
Sat, 27 Jun 2015 17:44:12 +0000 (11:44 -0600)
commit94626d94a179183e740f130ee81e7a55732cd619
tree26b4a73f4ca2651b41ee1c8196a6b31041a0fed8
parent5ce8dac4715ead49f256b48126e53eeea44c29da
bdi: Remove "inline" keyword from exported I_BDEV() implementation

With gcc 3.4.6/4.1.2/4.2.4 (not with 4.4.7/4.6.4/4.8.4):

      CC      fs/block_dev.o
    include/linux/fs.h:804: warning: ‘I_BDEV’ declared inline after being called
    include/linux/fs.h:804: warning: previous declaration of ‘I_BDEV’ was here

Commit dbfa6c68b1167e3b ("bdi: make inode_to_bdi() inline") added a
caller of I_BDEV() in a header file, exposing the bogus "inline" on the
exported implementation.

Drop the "inline" keyword to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/block_dev.c