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/ext4 | |
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/ext4')
-rw-r--r-- | fs/ext4/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 044135796f2b..9988b3a40b42 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -5873,7 +5873,7 @@ static struct file *ext4_get_journal_blkdev(struct super_block *sb, sb_block = EXT4_MIN_BLOCK_SIZE / blocksize; offset = EXT4_MIN_BLOCK_SIZE % blocksize; - set_blocksize(bdev, blocksize); + set_blocksize(bdev_file, blocksize); bh = __bread(bdev, sb_block, blocksize); if (!bh) { ext4_msg(sb, KERN_ERR, "couldn't read superblock of " |