diff options
author | Amir Goldstein <amir73il@gmail.com> | 2023-10-09 17:37:10 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-19 11:03:15 +0200 |
commit | 83bc1d294130cc471a89ce10770daa281a93fcb0 (patch) | |
tree | 80c9b2ce727b754f9b3dea6b29148f75254f5e1d /fs/nilfs2/sufile.h | |
parent | vfs: stop counting on gcc not messing with mnt_expiry_mark if not asked (diff) | |
download | linux-83bc1d294130cc471a89ce10770daa281a93fcb0.tar.xz linux-83bc1d294130cc471a89ce10770daa281a93fcb0.zip |
fs: get mnt_writers count for an open backing file's real path
A writeable mapped backing file can perform writes to the real inode.
Therefore, the real path mount must be kept writable so long as the
writable map exists.
This may not be strictly needed for ovelrayfs private upper mount,
but it is correct to take the mnt_writers count in the vfs helper.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/r/20231009153712.1566422-2-amir73il@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/nilfs2/sufile.h')
0 files changed, 0 insertions, 0 deletions