diff options
author | 2022-10-10 12:37:13 +0100 | |
---|---|---|
committer | 2022-11-12 20:59:44 +0300 | |
commit | dc0fcc99b1756c3c703326aa0015ed73fc4e9a73 (patch) | |
tree | a757578c2bc22004731b889e530e8f513b845f8f /fs/ntfs3/inode.c | |
parent | fs/ntfs3: Document the hidedotfiles mount option (diff) | |
download | linux-dc0fcc99b1756c3c703326aa0015ed73fc4e9a73.tar.gz linux-dc0fcc99b1756c3c703326aa0015ed73fc4e9a73.tar.bz2 linux-dc0fcc99b1756c3c703326aa0015ed73fc4e9a73.zip |
fs/ntfs3: Rename hidedotfiles mount option to hide_dot_files
The hidedotfiles mount option provides the same functionality as
the NTFS-3G hide_dot_files mount option. As such, it should be
named the same for compatibility with NTGS-3G.
Rename the hidedotfiles to hide_dot_files for compatbility with
NTFS-3G.
Signed-off-by: Daniel Pinto <danielpinto52@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/inode.c')
-rw-r--r-- | fs/ntfs3/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs3/inode.c b/fs/ntfs3/inode.c index a2522fc41240..3977e98e3fa3 100644 --- a/fs/ntfs3/inode.c +++ b/fs/ntfs3/inode.c @@ -1279,7 +1279,7 @@ struct inode *ntfs_create_inode(struct user_namespace *mnt_userns, fa = FILE_ATTRIBUTE_ARCHIVE; } - /* If option "hidedotfiles" then set hidden attribute for dot files. */ + /* If option "hide_dot_files" then set hidden attribute for dot files. */ if (sbi->options->hide_dot_files && name->name[0] == '.') fa |= FILE_ATTRIBUTE_HIDDEN; |