ext4: split ext4_shutdown
authorChristoph Hellwig <hch@lst.de>
Thu, 1 Jun 2023 09:44:57 +0000 (11:44 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Jun 2023 16:53:04 +0000 (10:53 -0600)
commit97524b454bc562f4052751f0e635a61dad78f1b2
treeeafbf993ed6688d73ca8bbe1f0cbb4167072c37c
parent8067ca1dcdfcc2a5e0a51bff3730ad3eef0623d6
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>
fs/ext4/ext4.h
fs/ext4/ioctl.c