fs: don't open-code mnt_hold_writers()
authorChristian Brauner <brauner@kernel.org>
Thu, 3 Feb 2022 13:14:10 +0000 (14:14 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 14 Feb 2022 07:37:40 +0000 (08:37 +0100)
commitad1844a0127af8fbb87d3d7019907260daf6466b
tree142c1f810c31925e0aadaa390211cb638426548d
parent03b6abee9ba67c20c4e5253e1a347d8c26edc511
fs: don't open-code mnt_hold_writers()

Remove sb_prepare_remount_readonly()'s open-coded mnt_hold_writers()
implementation with the real helper we introduced in commit fbdc2f6c40f6
("fs: split out functions to hold writers").

Link: https://lore.kernel.org/r/20220203131411.3093040-7-brauner@kernel.org
Cc: Seth Forshee <seth.forshee@digitalocean.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/namespace.c