Re: [RFC PATCH 0/4] fs/ntfs3: Use new mount api and change some opts
From: Kari Argillander
Date: Sun Aug 15 2021 - 23:03:58 EST
As I screw up subject with this one I resend this with replay.
On Mon, Aug 16, 2021 at 05:46:59AM +0300, Kari Argillander wrote:
> This series modify ntfs3 to use new mount api as Christoph Hellwig wish
> for.
> https://lore.kernel.org/linux-fsdevel/20210810090234.GA23732@xxxxxx/
>
> It also modify mount options noatime (not needed) and make new alias
> for nls because kernel is changing to use it as described in here
> https://lore.kernel.org/linux-fsdevel/20210808162453.1653-1-pali@xxxxxxxxxx/
>
> I would like really like to get fsparam_flag_no also for no_acs_rules
> but then we have to make new name for it. Other possibility is to
> modify mount api so it mount option can be no/no_. I think that would
> maybe be good change.
>
> I did not quite like how I did nls table loading because now it always
> first load default table and if user give option then default table is
> dropped and if reconfigure is happening and this was same as before then
> it is dropped. I try to make loading in fill_super and fs_reconfigure
> but that just look ugly. This is quite readible so I leave it like this.
> We also do not mount/remount so often that this probebly does not
> matter. It seems that if new mount api had possibility to give default
> value for mount option then there is not this kind of problem.
>
> I would hope that these will added top of the now going ntfs3 patch
> series. I do not have so many contributions to kernel yet and I would
> like to get my name going there so that in future it would be easier to
> contribute kernel.
>
> Kari Argillander (4):
> fs/ntfs3: Use new api for mounting
> fs/ntfs3: Remove unnecesarry mount option noatime
> fs/ntfs3: Make mount option nohidden more universal
> fs/ntfs3: Add iocharset= mount option as alias for nls=
>
> Documentation/filesystems/ntfs3.rst | 4 -
> fs/ntfs3/super.c | 391 ++++++++++++++--------------
> 2 files changed, 196 insertions(+), 199 deletions(-)
>
> --
> 2.25.1
>
>