]> 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)
commit79280257ba92dbb8c6d2c51a7d77e27c56077fb5
tree58f91829c6d630f66474442af7500e6036dd1b89
parent5e2ad84ba7ed8804bdac63dcfca90d27be20e307
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