|
@@ -1221,9 +1221,7 @@ static int ext2_remount (struct super_block * sb, int * flags, char * data)
|
|
|
}
|
|
|
|
|
|
es = sbi->s_es;
|
|
|
- if (((sbi->s_mount_opt & EXT2_MOUNT_XIP) !=
|
|
|
- (old_mount_opt & EXT2_MOUNT_XIP)) &&
|
|
|
- invalidate_inodes(sb)) {
|
|
|
+ if ((sbi->s_mount_opt ^ old_mount_opt) & EXT2_MOUNT_XIP) {
|
|
|
ext2_msg(sb, KERN_WARNING, "warning: refusing change of "
|
|
|
"xip flag with busy inodes while remounting");
|
|
|
sbi->s_mount_opt &= ~EXT2_MOUNT_XIP;
|