fs: add vfs_cmd_reconfigure()
authorChristian Brauner <brauner@kernel.org>
Wed, 2 Aug 2023 11:57:05 +0000 (13:57 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 14 Aug 2023 16:48:02 +0000 (18:48 +0200)
commit11a51d8c13a75f6b24cffeda8e5e11fc8a749f1e
treee1f9ebd3d6b724dcc6c05f44a790ff5d2c9655aa
parentdae8b08d5d83b7550917af06cfba76f0b908bf15
fs: add vfs_cmd_reconfigure()

Split the steps to reconfigure a superblock into a tiny helper instead
of open-coding it in the switch.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Aleksa Sarai <cyphar@cyphar.com>
Message-Id: <20230802-vfs-super-exclusive-v2-3-95dc4e41b870@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/fsopen.c