fs/ntfs3: Fix hidedotfiles mount option by reversing behaviour
authorDaniel Pinto <danielpinto52@gmail.com>
Mon, 10 Oct 2022 11:30:15 +0000 (12:30 +0100)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Sat, 12 Nov 2022 17:59:43 +0000 (20:59 +0300)
commit4c9ba192c73f52dc1d549fcfeb109b725fea8950
tree20e19c1f8d1dcee8ab022e8194b997ad83ff6769
parentd683c67c5f50802b9b14ea29d89d66a25327e965
fs/ntfs3: Fix hidedotfiles mount option by reversing behaviour

Currently, the hidedotfiles mount option is behaving in the reverse
way of what would be expected: enabling it disables setting the
hidden attribute on files or directories with names starting with a
dot and disabling it enables the setting.

Reverse the behaviour of the hidedotfiles mount option so it matches
what is expected.

Signed-off-by: Daniel Pinto <danielpinto52@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/super.c