patch-2.4.20 linux-2.4.20/fs/ext2/super.c
Next file: linux-2.4.20/fs/ext3/file.c
Previous file: linux-2.4.20/fs/ext2/ioctl.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/fs/ext2/super.c
- Orig date:
Mon Feb 25 11:38:08 2002
diff -urN linux-2.4.19/fs/ext2/super.c linux-2.4.20/fs/ext2/super.c
@@ -486,6 +486,9 @@
bdevname(dev), i);
goto failed_mount;
}
+ if (EXT2_HAS_COMPAT_FEATURE(sb, EXT3_FEATURE_COMPAT_HAS_JOURNAL))
+ ext2_warning(sb, __FUNCTION__,
+ "mounting ext3 filesystem as ext2\n");
sb->s_blocksize_bits =
le32_to_cpu(EXT2_SB(sb)->s_es->s_log_block_size) + 10;
sb->s_blocksize = 1 << sb->s_blocksize_bits;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)