From: oaygnahzz <oaygnahzz@gmail.com>
To: linux-fsdevel@vger.kernel.org
Cc: viro@zeniv.linux.org.uk, brauner@kernel.org, jack@suse.cz,
oaygnahzz <oaygnahzz@gmail.com>
Subject: [PATCH] [QUESTION] ext4: Why does fsconfig allow repeated mounting?
Date: Tue, 10 Feb 2026 00:59:44 +0800 [thread overview]
Message-ID: <20260209165944.12649-1-oaygnahzz@gmail.com> (raw)
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
next reply other threads:[~2026-02-09 16:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-09 16:59 oaygnahzz [this message]
2026-02-09 17:03 ` [PATCH] [QUESTION] ext4: Why does fsconfig allow repeated mounting? Matthew Wilcox
-- strict thread matches above, loose matches on Subject: below --
2026-02-09 17:01 oaygnahzz
2026-02-09 17:02 oaygnahzz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260209165944.12649-1-oaygnahzz@gmail.com \
--to=oaygnahzz@gmail.com \
--cc=brauner@kernel.org \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.