From: Hungyu Lin <dennylin0707@gmail.com>
To: almaz.alexandrovich@paragon-software.com
Cc: ntfs3@lists.linux.dev, linux-kernel@vger.kernel.org,
dennylin0707@gmail.com, "Clément Smagghe" <cle.smagghe@gmail.com>
Subject: [PATCH] fs/ntfs3: disable the 'ads' mount option by default
Date: Sun, 15 Nov 2026 10:38:45 +0000 [thread overview]
Message-ID: <20261115103845.56074-1-dennylin0707@gmail.com> (raw)
Since commit be310476e886 ("fs/ntfs3: Add basic support for alternative
data streams") the 'ads' mount option is enabled by default, and
ntfs_nls_to_utf16() treats a ':' inside a name as the start of a stream
name. Existing files and directories whose names contain ':' are still
listed by readdir but can no longer be looked up, and such names can no
longer be created.
Make 'ads' opt-in, so that volumes mounted without it behave as before.
Fixes: be310476e886 ("fs/ntfs3: Add basic support for alternative data streams")
Reported-by: Clément Smagghe <cle.smagghe@gmail.com>
Closes: https://lore.kernel.org/all/CAJ6F8CFgkgksyk6YM3NdMkQNhSFWV4depC4c-mHvpDHpnjhM-Q@mail.gmail.com/
Cc: stable@vger.kernel.org
Signed-off-by: Hungyu Lin <dennylin0707@gmail.com>
---
fs/ntfs3/super.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c
index 29aabdc8a801..0c317cda836b 100644
--- a/fs/ntfs3/super.c
+++ b/fs/ntfs3/super.c
@@ -1949,7 +1949,6 @@ static int ntfs_init_fs_context(struct fs_context *fc)
opts->fs_gid = current_gid();
opts->fs_fmask_inv = opts->fs_dmask_inv = ~current_umask();
opts->prealloc = 1;
- opts->ads = 1;
opts->ugm = 1;
#ifdef CONFIG_NTFS3_FS_POSIX_ACL
--
2.43.0
reply other threads:[~2026-11-15 10:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261115103845.56074-1-dennylin0707@gmail.com \
--to=dennylin0707@gmail.com \
--cc=almaz.alexandrovich@paragon-software.com \
--cc=cle.smagghe@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ntfs3@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®