Commit 19b42450 authored by Daniel Pinto's avatar Daniel Pinto Committed by 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: default avatarDaniel Pinto <danielpinto52@gmail.com>
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment