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)
commit610f8f5a7baf998e70a61c63e53869b676d9b04c
tree58f91829c6d630f66474442af7500e6036dd1b89
parent564c97bdfa39c7d1f331841fb24da6e714693037
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