From: Geert Uytterhoeven Date: Fri, 26 Jun 2015 11:58:32 +0000 (+0200) Subject: bdi: Remove "inline" keyword from exported I_BDEV() implementation X-Git-Tag: omap-for-v4.3/legacy-v2-signed~99^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff5053f66677b046cb85695b2a93d4eb07029fa7;p=pandora-kernel.git 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 a212b105b07d75b4 ("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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed