From: Christoph Hellwig Date: Wed, 14 Jan 2015 09:42:36 +0000 (+0100) Subject: fs: export inode_to_bdi and use it in favor of mapping->backing_dev_info X-Git-Tag: fixes-v4.0-rc1~119^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de1414a654e66b81b5348dbc5259ecf2fb61655e;p=pandora-kernel.git fs: export inode_to_bdi and use it in favor of mapping->backing_dev_info Now that we got rid of the bdi abuse on character devices we can always use sb->s_bdi to get at the backing_dev_info for a file, except for the block device special case. Export inode_to_bdi and replace uses of mapping->backing_dev_info with it to prepare for the removal of mapping->backing_dev_info. Signed-off-by: Christoph Hellwig Reviewed-by: Tejun Heo Reviewed-by: Jan Kara Signed-off-by: Jens Axboe --- Reading git-diff-tree failed