Commit f72cf5e2 authored by Artem Bityutskiy's avatar Artem Bityutskiy Committed by Jan Kara

ext2: do not register write_super within VFS

Jan Kara removed 'sb->s_dirt' VFS flag references, so we do not need to
register the ext2 'ext2_write_super()' method in the VFS superblock operations,
because 'sb->s_dirt' won't be ever set to 1 and VFS won't ever call
'->write_super()' anyway. Thus, remove the method.

Tested using xfstests.
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent b838ec22
...@@ -302,7 +302,6 @@ static const struct super_operations ext2_sops = { ...@@ -302,7 +302,6 @@ static const struct super_operations ext2_sops = {
.write_inode = ext2_write_inode, .write_inode = ext2_write_inode,
.evict_inode = ext2_evict_inode, .evict_inode = ext2_evict_inode,
.put_super = ext2_put_super, .put_super = ext2_put_super,
.write_super = ext2_write_super,
.sync_fs = ext2_sync_fs, .sync_fs = ext2_sync_fs,
.statfs = ext2_statfs, .statfs = ext2_statfs,
.remount_fs = ext2_remount, .remount_fs = ext2_remount,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment