diff options
author | Daniel Pinto <danielpinto52@gmail.com> | 2022-10-10 14:34:06 +0300 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2022-11-12 20:59:44 +0300 |
commit | 19b424501d8588a3111e50fa3d7d926594e78449 (patch) | |
tree | d424edb77130267e03960dd80321d6b1d16e76a0 /fs | |
parent | 66223324cba4290ba45c612fe1e31a265636ad2d (diff) | |
download | linux-19b424501d8588a3111e50fa3d7d926594e78449.tar.xz |
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: Daniel Pinto <danielpinto52@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ntfs3/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ntfs3/super.c b/fs/ntfs3/super.c index 0207cafbab08..464703701ed4 100644 --- a/fs/ntfs3/super.c +++ b/fs/ntfs3/super.c @@ -568,6 +568,8 @@ static int ntfs_show_options(struct seq_file *m, struct dentry *root) seq_puts(m, ",nohidden"); if (opts->windows_names) seq_puts(m, ",windows_names"); + if (opts->hide_dot_files) + seq_puts(m, ",hidedotfiles"); if (opts->force) seq_puts(m, ",force"); if (opts->noacsrules) |