ext4: Why does fsconfig allow repeated mounting?
PATCH 1/1 ext4: Why does fsconfig allow repeated mounting?
Hi all,
The mount interface will report an error for repeated mounting, but fsconfig seems to allow this. Why is that?
Thanks.
--- fs/fsopen.c | 1 + 1 file changed, 1 insertion(+)
fs/fsopen.c +1 -0
@@ -300,6 +300,7 @@ static int vfs_fsconfig_locked(struct fs_context *fc, int cmd,/** * sys_fsconfig - Set parameters and trigger actions on a context +* * @fd: The filesystem context to act upon * @cmd: The action to take * @_key: Where appropriate, the parameter key to set
Signature · 1 line
2.33.0
Quoted 3 lines · oaygnahzz
Hi all,
The mount interface will report an error for repeated mounting, but fsconfig seems to allow this. Why is that?
The patch is incorrect and unrelated to the question
Quoted 21 lines
Thanks.
--- fs/fsopen.c | 1 + 1 file changed, 1 insertion(+)fs/fsopen.c +1
-0@@ -300,6 +300,7 @@ static int vfs_fsconfig_locked(struct fs_context *fc, int cmd,/** * sys_fsconfig - Set parameters and trigger actions on a context +* * @fd: The filesystem context to act upon * @cmd: The action to take * @_key: Where appropriate, the parameter key to set Signature · 1 line
2.33.0