fs/ntfs3: Show uid/gid always in show_options()
authorKari Argillander <kari.argillander@gmail.com>
Tue, 7 Sep 2021 15:35:57 +0000 (18:35 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 9 Sep 2021 16:28:54 +0000 (19:28 +0300)
commit15b2ae776044ac52cddda8a3e6c9fecd15226b8c
tree0e47f006bfcd0bc90dea64e02b3a5d22c97dc17c
parent28a941ffc1404b66d67228cbe8392bbadb94af0d
fs/ntfs3: Show uid/gid always in show_options()

Show options should show option according documentation when some value
is not default or when ever coder wants. Uid/gid are problematic because
it is hard to know which are defaults. In file system there is many
different implementation for this problem.

Some file systems show uid/gid when they are different than root, some
when user has set them and some show them always. There is also problem
that what if root uid/gid change. This code just choose to show them
always. This way we do not need to think this any more.

Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/ntfs_fs.h
fs/ntfs3/super.c