* [PATCH] [QUESTION] ext4: Why does fsconfig allow repeated mounting?
@ 2026-02-09 17:02 oaygnahzz
0 siblings, 0 replies; 4+ messages in thread
From: oaygnahzz @ 2026-02-09 17:02 UTC (permalink / raw)
To: linux-fsdevel; +Cc: viro, brauner, jack, oaygnahzz
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(+)
diff --git a/fs/fsopen.c b/fs/fsopen.c
index 1aaf4cb2afb2..06a8711dd627 100644
--- a/fs/fsopen.c
+++ b/fs/fsopen.c
@@ -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
--
2.33.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] [QUESTION] ext4: Why does fsconfig allow repeated mounting?
@ 2026-02-09 17:01 oaygnahzz
0 siblings, 0 replies; 4+ messages in thread
From: oaygnahzz @ 2026-02-09 17:01 UTC (permalink / raw)
To: linux-fsdevel; +Cc: viro, brauner, jack, oaygnahzz
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(+)
diff --git a/fs/fsopen.c b/fs/fsopen.c
index 1aaf4cb2afb2..06a8711dd627 100644
--- a/fs/fsopen.c
+++ b/fs/fsopen.c
@@ -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
--
2.33.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] [QUESTION] ext4: Why does fsconfig allow repeated mounting?
@ 2026-02-09 16:59 oaygnahzz
2026-02-09 17:03 ` Matthew Wilcox
0 siblings, 1 reply; 4+ messages in thread
From: oaygnahzz @ 2026-02-09 16:59 UTC (permalink / raw)
To: linux-fsdevel; +Cc: viro, brauner, jack, oaygnahzz
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(+)
diff --git a/fs/fsopen.c b/fs/fsopen.c
index 1aaf4cb2afb2..06a8711dd627 100644
--- a/fs/fsopen.c
+++ b/fs/fsopen.c
@@ -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
--
2.33.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] [QUESTION] ext4: Why does fsconfig allow repeated mounting?
2026-02-09 16:59 oaygnahzz
@ 2026-02-09 17:03 ` Matthew Wilcox
0 siblings, 0 replies; 4+ messages in thread
From: Matthew Wilcox @ 2026-02-09 17:03 UTC (permalink / raw)
To: oaygnahzz; +Cc: linux-fsdevel, viro, brauner, jack
On Tue, Feb 10, 2026 at 12:59:44AM +0800, oaygnahzz wrote:
> 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
> Thanks.
> ---
> fs/fsopen.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/fsopen.c b/fs/fsopen.c
> index 1aaf4cb2afb2..06a8711dd627 100644
> --- a/fs/fsopen.c
> +++ b/fs/fsopen.c
> @@ -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
> --
> 2.33.0
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-02-09 17:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-09 17:02 [PATCH] [QUESTION] ext4: Why does fsconfig allow repeated mounting? oaygnahzz
-- strict thread matches above, loose matches on Subject: below --
2026-02-09 17:01 oaygnahzz
2026-02-09 16:59 oaygnahzz
2026-02-09 17:03 ` Matthew Wilcox
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.