diff options
Diffstat (limited to 'fs/ext2/super.c')
-rw-r--r-- | fs/ext2/super.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 16337bff0272..c9fd8cf6eaa9 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c | |||
@@ -1038,6 +1038,14 @@ static int ext2_remount (struct super_block * sb, int * flags, char * data) | |||
1038 | sb->s_flags = (sb->s_flags & ~MS_POSIXACL) | | 1038 | sb->s_flags = (sb->s_flags & ~MS_POSIXACL) | |
1039 | ((sbi->s_mount_opt & EXT2_MOUNT_POSIX_ACL) ? MS_POSIXACL : 0); | 1039 | ((sbi->s_mount_opt & EXT2_MOUNT_POSIX_ACL) ? MS_POSIXACL : 0); |
1040 | 1040 | ||
1041 | ext2_xip_verify_sb(sb); /* see if bdev supports xip, unset | ||
1042 | EXT2_MOUNT_XIP if not */ | ||
1043 | |||
1044 | if ((ext2_use_xip(sb)) && (sb->s_blocksize != PAGE_SIZE)) { | ||
1045 | printk("XIP: Unsupported blocksize\n"); | ||
1046 | goto restore_opts; | ||
1047 | } | ||
1048 | |||
1041 | es = sbi->s_es; | 1049 | es = sbi->s_es; |
1042 | if (((sbi->s_mount_opt & EXT2_MOUNT_XIP) != | 1050 | if (((sbi->s_mount_opt & EXT2_MOUNT_XIP) != |
1043 | (old_mount_opt & EXT2_MOUNT_XIP)) && | 1051 | (old_mount_opt & EXT2_MOUNT_XIP)) && |