[PATCH 18/31] fs: remove sb->s_mode
Hannes Reinecke
hare at suse.de
Wed Jun 7 06:01:22 PDT 2023
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 at 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 at suse.de>
Cheers,
Hannes
More information about the linux-mtd
mailing list