]> git.itanic.dy.fi Git - linux-stable/commit
ext4: drop read-only check in ext4_init_inode_table()
authorJan Kara <jack@suse.cz>
Fri, 16 Jun 2023 16:50:54 +0000 (18:50 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 29 Jul 2023 22:37:53 +0000 (18:37 -0400)
commitffb6844e28ef6b9d76bee378774d7afbc3db6da9
tree63cbe3b3a83c5ce1c154995b9a95432481bd6a1e
parente7fc2b31e04c46c9e2098bba710c9951c6b968af
ext4: drop read-only check in ext4_init_inode_table()

We better should not be initializing inode tables on read-only
filesystem. The following transaction start will warn us and make the
function bail anyway so drop the pointless check.

Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230616165109.21695-8-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ialloc.c