diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-04-18 06:34:31 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-05-02 23:39:44 +0200 |
commit | ead083aeeed9df44fab9227e47688f7305c3a233 (patch) | |
tree | 1678d6d34fa3483f2bcfe7dea3ced9b4c6d2a9bd /fs/xfs | |
parent | btrfs_get_bdev_and_sb(): call set_blocksize() only for exclusive opens (diff) | |
download | linux-ead083aeeed9df44fab9227e47688f7305c3a233.tar.xz linux-ead083aeeed9df44fab9227e47688f7305c3a233.zip |
set_blocksize(): switch to passing struct file *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/xfs_buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index f0fa02264eda..2dc0eacb0999 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c @@ -2043,7 +2043,7 @@ xfs_setsize_buftarg( btp->bt_meta_sectorsize = sectorsize; btp->bt_meta_sectormask = sectorsize - 1; - if (set_blocksize(btp->bt_bdev, sectorsize)) { + if (set_blocksize(btp->bt_bdev_file, sectorsize)) { xfs_warn(btp->bt_mount, "Cannot set_blocksize to %u on device %pg", sectorsize, btp->bt_bdev); |