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

We should not have dirty inodes on read-only filesystem. Also silently
bailing without writing anything would be a problem when we enable
quotas during remount while the filesystem is read-only. So drop the
read-only check.

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