Skip to content
Commit 044ce47f authored by Jan Kara's avatar Jan Kara Committed by Theodore Ts'o
Browse files

ext4: convert last user of ext4_mark_super_dirty() to ext4_handle_dirty_super()



The last user of ext4_mark_super_dirty() in ext4_file_open() is so
rare it can well be modifying the superblock properly by journalling
the change.  Change it and get rid of ext4_mark_super_dirty() as it's
not needed anymore.

Artem: small amendments.
Artem: tested using xfstests for both journalled and non-journalled ext4.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
Tested-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
parent 97a74068
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment