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

JBD2 code will quickly return without doing anything when there's
nothing to commit so there's no point in the read-only check in
ext4_force_commit(). Just drop it.

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