mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
ext2: xip check fix
ext2 should not worry about checking sb->s_blocksize for XIP before the sb's blocksize actually gets set. Signed-off-by: Nick Piggin <[email protected]> Acked-by: Carsten Otte <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
cce992bcee
commit
a8e3eff466
1 changed files with 1 additions and 2 deletions
|
|
@ -868,8 +868,7 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent)
|
|||
|
||||
blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size);
|
||||
|
||||
if ((ext2_use_xip(sb)) && ((blocksize != PAGE_SIZE) ||
|
||||
(sb->s_blocksize != blocksize))) {
|
||||
if (ext2_use_xip(sb) && blocksize != PAGE_SIZE) {
|
||||
if (!silent)
|
||||
printk("XIP: Unsupported blocksize\n");
|
||||
goto failed_mount;
|
||||
|
|
|
|||
Loading…
Reference in a new issue