diff options
author | Christian Brauner <brauner@kernel.org> | 2022-02-03 14:14:08 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2022-02-14 08:37:39 +0100 |
commit | a26f788b6e7a10d193c4cc6889818e4d625e9461 (patch) | |
tree | c4fbe3e3f699fdbe95d2bba6a93ce775c58c15b5 /fs/gfs2 | |
parent | fs: add kernel doc for mnt_{hold,unhold}_writers() (diff) | |
download | linux-a26f788b6e7a10d193c4cc6889818e4d625e9461.tar.xz linux-a26f788b6e7a10d193c4cc6889818e4d625e9461.zip |
fs: add mnt_allow_writers() and simplify mount_setattr_prepare()
Add a tiny helper that lets us simplify the control-flow and can be used
in the next patch to avoid adding another condition open-coded into
mount_setattr_prepare(). Instead we can add it into the new helper.
Link: https://lore.kernel.org/r/20220203131411.3093040-5-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>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions