未验证 提交 19b42450 编写于 作者: D Daniel Pinto 提交者: Konstantin Komarov

fs/ntfs3: Add hidedotfiles to the list of enabled mount options

Currently, the ntfs3 driver does return the hidedotfiles mount
option in the list of enabled mount options. This can confuse
users who may doubt they enabled the option when not seeing in
the list provided by the mount command.

Add hidedotfiles mount option to the list of enabled options
provided by the mount command when it is enabled.
Signed-off-by: NDaniel Pinto <danielpinto52@gmail.com>
Signed-off-by: NKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
上级 66223324
...@@ -568,6 +568,8 @@ static int ntfs_show_options(struct seq_file *m, struct dentry *root) ...@@ -568,6 +568,8 @@ static int ntfs_show_options(struct seq_file *m, struct dentry *root)
seq_puts(m, ",nohidden"); seq_puts(m, ",nohidden");
if (opts->windows_names) if (opts->windows_names)
seq_puts(m, ",windows_names"); seq_puts(m, ",windows_names");
if (opts->hide_dot_files)
seq_puts(m, ",hidedotfiles");
if (opts->force) if (opts->force)
seq_puts(m, ",force"); seq_puts(m, ",force");
if (opts->noacsrules) if (opts->noacsrules)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册