]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ntfs3: Use new api for mounting
authorKari Argillander <kari.argillander@gmail.com>
Tue, 7 Sep 2021 15:35:52 +0000 (18:35 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 9 Sep 2021 16:28:52 +0000 (19:28 +0300)
commit9fb0c0917c392508d0aeb8b13165d5b764b5084a
tree58f91829c6d630f66474442af7500e6036dd1b89
parentd6a53533799693ed72447f1771ee43b571fca516
fs/ntfs3: Use new api for mounting

We have now new mount api as described in Documentation/filesystems. We
should use it as it gives us some benefits which are desribed here
lore.kernel.org/linux-fsdevel/159646178122.1784947.11705396571718464082.stgit@warthog.procyon.org.uk/

Nls loading is changed a to load with string. This did make code also
little cleaner.

Also try to use fsparam_flag_no as much as possible. This is just nice
little touch and is not mandatory but it should not make any harm. It
is just convenient that we can use example acl/noacl mount options.

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