]> git.itanic.dy.fi Git - linux-stable/commit
ext4: make ext4_forced_shutdown() take struct super_block
authorJan Kara <jack@suse.cz>
Fri, 16 Jun 2023 16:50:49 +0000 (18:50 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 29 Jul 2023 22:37:24 +0000 (18:37 -0400)
commiteb8ab4443aec5ffe923a471b337568a8158cd32b
tree4c7c5f88e3be846c0ef91b5b87b16365df423fe4
parentd5d020b3294b69eaf3b8985e7a37ba237849c390
ext4: make ext4_forced_shutdown() take struct super_block

Currently ext4_forced_shutdown() takes struct ext4_sb_info but most
callers need to get it from struct super_block anyway. So just pass in
struct super_block to save all callers from some boilerplate code. No
functional changes.

Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230616165109.21695-3-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
12 files changed:
fs/ext4/ext4.h
fs/ext4/ext4_jbd2.c
fs/ext4/file.c
fs/ext4/fsync.c
fs/ext4/ialloc.c
fs/ext4/inline.c
fs/ext4/inode.c
fs/ext4/ioctl.c
fs/ext4/namei.c
fs/ext4/page-io.c
fs/ext4/super.c
fs/ext4/xattr.c