ext2: remove ext2_xip_verify_sb()
authorMatthew Wilcox <[email protected]>
Mon, 16 Feb 2015 23:59:15 +0000 (15:59 -0800)
committerLinus Torvalds <[email protected]>
Tue, 17 Feb 2015 01:56:03 +0000 (17:56 -0800)
commit0de4830fd49f60d04ba37e8b32f95100f3953c39
treea37fba1094d21dd0474cd8ab4edffa7c687b4f69
parente748dcd095ddee50e7a7deda2e26247715318a2e
ext2: remove ext2_xip_verify_sb()

Jan Kara pointed out that calling ext2_xip_verify_sb() in ext2_remount()
doesn't make sense, since changing the XIP option on remount isn't
allowed.  It also doesn't make sense to re-check whether blocksize is
supported since it can't change between mounts.

Replace the call to ext2_xip_verify_sb() in ext2_fill_super() with the
equivalent check and delete the definition.

Signed-off-by: Matthew Wilcox <[email protected]>
Cc: Andreas Dilger <[email protected]>
Cc: Boaz Harrosh <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Ross Zwisler <[email protected]>
Cc: Theodore Ts'o <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ext2/super.c
fs/ext2/xip.c
fs/ext2/xip.h