Skip to content

fs/ntfs3: Fix and rename hidedotfiles mount option

Daniel Pinto linux-fsdevel lkml ntfs3 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v14 patches 1 replySuperseded

Changes in v2 from the cover letter

- Add documentation for hidedotfiles mount option.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5fs/ntfs3: fix hidedotfiles mount option by reversing behaviourfs/ntfs3/super.c+1 -10 replies
2/5fs/ntfs3: make hidedotfiles mount option work when renaming filesfs/ntfs3/frecord.c+9 -00 replies
3/5fs/ntfs3: add hidedotfiles to the list of enabled mount optionsfs/ntfs3/super.c+2 -00 replies
4/5fs/ntfs3: document the hidedotfiles mount optionDocumentation/filesystems/ntfs3.rst+6 -00 replies
5/5fs/ntfs3: rename hidedotfiles mount option to hide_dot_filesDocumentation/filesystems/ntfs3.rst fs/ntfs3/frecord.c fs/ntfs3/inode.c +1 more+5 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] fs/ntfs3: Fix and rename hidedotfiles mount option

Changes v1->v2:
- Add documentation for hidedotfiles mount option.

The current implementation of the hidedotfiles has some problems, namely:
- there is a bug where enabling it actually disables it and vice versa
- it only works when creating files, not when moving or renaming them
- it is not listed in the enabled options list by the mount command
- its name differs from the equivalent hide_dot_files mount option used by NTFS-3G, making it incompatible with it for no reason

This series of patches tries to fix those problems.

Daniel Pinto (5):
fs/ntfs3: fix hidedotfiles mount option by reversing behaviour fs/ntfs3: make hidedotfiles mount option work when renaming files fs/ntfs3: add hidedotfiles to the list of enabled mount options fs/ntfs3: document the hidedotfiles mount option fs/ntfs3: rename hidedotfiles mount option to hide_dot_files

 Documentation/filesystems/ntfs3.rst | 6 ++++++
 fs/ntfs3/frecord.c                  | 9 +++++++++
 fs/ntfs3/inode.c                    | 2 +-
 fs/ntfs3/super.c                    | 6 ++++--
 4 files changed, 20 insertions(+), 3 deletions(-)