diff options
author | Christoph Hellwig <hch@lst.de> | 2023-06-01 11:44:57 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-05 10:53:04 -0600 |
commit | 97524b454bc562f4052751f0e635a61dad78f1b2 (patch) | |
tree | eafbf993ed6688d73ca8bbe1f0cbb4167072c37c /fs/ext4/ext4.h | |
parent | 8067ca1dcdfcc2a5e0a51bff3730ad3eef0623d6 (diff) | |
download | linux-97524b454bc562f4052751f0e635a61dad78f1b2.tar.gz linux-97524b454bc562f4052751f0e635a61dad78f1b2.tar.bz2 linux-97524b454bc562f4052751f0e635a61dad78f1b2.zip |
ext4: split ext4_shutdown
Split ext4_shutdown into a low-level helper that will be reused for
implementing the shutdown super operation and a wrapper for the ioctl
handling.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Acked-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Link: https://lore.kernel.org/r/20230601094459.1350643-15-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 6948d673bba2..2d60bbe8d171 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -2965,6 +2965,7 @@ int ext4_fileattr_set(struct mnt_idmap *idmap, int ext4_fileattr_get(struct dentry *dentry, struct fileattr *fa); extern void ext4_reset_inode_seed(struct inode *inode); int ext4_update_overhead(struct super_block *sb, bool force); +int ext4_force_shutdown(struct super_block *sb, u32 flags); /* migrate.c */ extern int ext4_ext_migrate(struct inode *); |