fs/ntfs3: Remove unnecesarry remount flag handling
authorKari Argillander <kari.argillander@gmail.com>
Tue, 7 Sep 2021 15:35:50 +0000 (18:35 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 9 Sep 2021 16:28:52 +0000 (19:28 +0300)
commitc2c389fd6c6b0393549578997744b03822dd2b24
tree3de598a748e25aefe716b32db29a20b7d55b3e8b
parentb8a30b4171b9a3c22ef0605ed74a21544d00c680
fs/ntfs3: Remove unnecesarry remount flag handling

Remove unnecesarry remount flag handling. This does not do anything for
this driver. We have already set SB_NODIRATIME when we fill super. Also
noatime should be set from mount option. Now for some reson we try to
set it when remounting.

Lazytime part looks like it is copied from f2fs and there is own mount
parameter for it. That is why they use it. We do not set lazytime
anywhere in our code. So basically this just blocks lazytime when
remounting.

Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/super.c