Re: [PATCH 18/31] fs: remove sb->s_mode

Hannes Reinecke
2023-06-07T13:01:40Z

On 6/6/23 09:39, Christoph Hellwig wrote:
> There is no real need to store the open mode in the super_block now.
> It is only used by f2fs, which can easily recalculate it.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> fs/f2fs/super.c | 10 ++++++----
> fs/nilfs2/super.c | 1 -
> fs/super.c | 2 --
> include/linux/fs.h | 1 -
> 4 files changed, 6 insertions(+), 8 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes