diff options
author | Jan Kara <jack@suse.cz> | 2017-02-02 15:56:53 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-02-02 16:21:32 +0100 |
commit | efa7c9f97e3ef624e9a398bf69c15f58eea9f0e8 (patch) | |
tree | d6f95674556410547789553ce35f64d2897453aa /fs/xfs/xfs_buf.h | |
parent | block: Make blk_get_backing_dev_info() safe without open bdev (diff) | |
download | linux-efa7c9f97e3ef624e9a398bf69c15f58eea9f0e8.tar.xz linux-efa7c9f97e3ef624e9a398bf69c15f58eea9f0e8.zip |
block: Get rid of blk_get_backing_dev_info()
blk_get_backing_dev_info() is now a simple dereference. Remove that
function and simplify some code around that.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/xfs/xfs_buf.h')
-rw-r--r-- | fs/xfs/xfs_buf.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h index 8a9d3a9599f0..3c867e5a63e1 100644 --- a/fs/xfs/xfs_buf.h +++ b/fs/xfs/xfs_buf.h @@ -109,7 +109,6 @@ typedef unsigned int xfs_buf_flags_t; typedef struct xfs_buftarg { dev_t bt_dev; struct block_device *bt_bdev; - struct backing_dev_info *bt_bdi; struct xfs_mount *bt_mount; unsigned int bt_meta_sectorsize; size_t bt_meta_sectormask; |