File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1683,7 +1683,7 @@ xfs_free_buftarg(
1683
1683
fs_put_dax (btp -> bt_daxdev , btp -> bt_mount );
1684
1684
/* the main block device is closed by kill_block_super */
1685
1685
if (btp -> bt_bdev != btp -> bt_mount -> m_super -> s_bdev )
1686
- bdev_fput (btp -> bt_bdev_file );
1686
+ bdev_fput (btp -> bt_file );
1687
1687
kfree (btp );
1688
1688
}
1689
1689
@@ -1798,7 +1798,7 @@ xfs_alloc_buftarg(
1798
1798
btp = kzalloc (sizeof (* btp ), GFP_KERNEL | __GFP_NOFAIL );
1799
1799
1800
1800
btp -> bt_mount = mp ;
1801
- btp -> bt_bdev_file = bdev_file ;
1801
+ btp -> bt_file = bdev_file ;
1802
1802
btp -> bt_bdev = file_bdev (bdev_file );
1803
1803
btp -> bt_dev = btp -> bt_bdev -> bd_dev ;
1804
1804
btp -> bt_daxdev = fs_dax_get_by_bdev (btp -> bt_bdev , & btp -> bt_dax_part_off ,
Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ void xfs_buf_cache_destroy(struct xfs_buf_cache *bch);
94
94
*/
95
95
struct xfs_buftarg {
96
96
dev_t bt_dev ;
97
- struct file * bt_bdev_file ;
98
97
struct block_device * bt_bdev ;
99
98
struct dax_device * bt_daxdev ;
100
99
struct file * bt_file ;
You can’t perform that action at this time.
0 commit comments