ext2: do not register write_super within VFS
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 3 Apr 2012 09:49:18 +0000 (12:49 +0300)
committerJan Kara <jack@suse.cz>
Wed, 11 Apr 2012 09:12:46 +0000 (11:12 +0200)
commitf72cf5e223a28d3b3ea7dc9e40464fd534e359e8
tree5565034413f296f22e25465eaf42f593766b6f55
parentb838ec2232b764a4903707e212c62f681b32cd51
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>
fs/ext2/super.c