diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-04-03 05:49:18 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2012-04-11 05:12:46 -0400 |
commit | f72cf5e223a28d3b3ea7dc9e40464fd534e359e8 (patch) | |
tree | 5565034413f296f22e25465eaf42f593766b6f55 /fs | |
parent | b838ec2232b764a4903707e212c62f681b32cd51 (diff) |
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: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext2/super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index a43f9adcc811..e0e8f45e9a71 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c | |||
@@ -302,7 +302,6 @@ static const struct super_operations ext2_sops = { | |||
302 | .write_inode = ext2_write_inode, | 302 | .write_inode = ext2_write_inode, |
303 | .evict_inode = ext2_evict_inode, | 303 | .evict_inode = ext2_evict_inode, |
304 | .put_super = ext2_put_super, | 304 | .put_super = ext2_put_super, |
305 | .write_super = ext2_write_super, | ||
306 | .sync_fs = ext2_sync_fs, | 305 | .sync_fs = ext2_sync_fs, |
307 | .statfs = ext2_statfs, | 306 | .statfs = ext2_statfs, |
308 | .remount_fs = ext2_remount, | 307 | .remount_fs = ext2_remount, |