block_dev: get bdev inode bdi directly from the block device
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Jan 2015 09:42:34 +0000 (10:42 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 20 Jan 2015 21:03:01 +0000 (14:03 -0700)
commit495a276e1ca96af622edb67ad0f85431935b20d2
tree6ff49a955028c9b1f61c722cbbc38976448d8056
parent564f00f6c03a9339c259eb71a5b3aa8ef7ff1c2e
block_dev: get bdev inode bdi directly from the block device

Directly grab the backing_dev_info from the request_queue instead of
detouring through the address_space.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/fs-writeback.c