diff options
author | Jan Kara <jack@suse.cz> | 2023-06-16 18:50:47 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-07-29 18:11:13 -0400 |
commit | 98175720c9ed3bac857b0364321517cc2d695a3f (patch) | |
tree | 2b92636f40e6185f38f25e5dfc2ee856f9ca7579 /fs/ext4/ext4_jbd2.c | |
parent | 1d40165047456923fa4343d519353d9440cd68df (diff) |
ext4: remove pointless sb_rdonly() checks from freezing code
ext4_freeze() and ext4_unfreeze() checks for sb_rdonly(). However this
check is pointless as VFS already checks for read-only filesystem before
calling filesystem specific methods. Remove the pointless checks.
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230616165109.21695-1-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4_jbd2.c')
0 files changed, 0 insertions, 0 deletions