]> www.infradead.org Git - users/hch/block.git/commit
fs: remove sb->s_mode
authorChristoph Hellwig <hch@lst.de>
Mon, 5 Jun 2023 06:02:18 +0000 (08:02 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 8 Jun 2023 11:00:48 +0000 (13:00 +0200)
commit3cacdedd7514a45e20e64bcd13fad4a4c0064b1d
treea3ac0c289f731b3124e48bbfa5af4153cac40489
parenteb1fd9c6ff460821256fbd67301e19361371b045
fs: remove sb->s_mode

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>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Christian Brauner <brauner@kernel.org>
fs/f2fs/super.c
fs/nilfs2/super.c
fs/super.c
include/linux/fs.h