Line
Link Here
|
0 |
-- shlibs/blkid/src/probers/ext.c.orig 2009-07-31 16:40:28.837616263 +0800 |
0 |
++ shlibs/blkid/src/probers/ext.c 2009-07-31 16:40:40.356804616 +0800 |
Lines 483-484
Link Here
|
483 |
if (fi & EXT3_FEATURE_INCOMPAT_JOURNAL_DEV) |
483 |
if (fi & EXT3_FEATURE_INCOMPAT_JOURNAL_DEV) |
484 |
return -BLKID_ERR_PARAM; |
484 |
return -BLKID_ERR_PARAM; |
485 |
/* Ext4 has at least one feature which ext3 doesn't understand */ |
|
|
486 |
if (!(frc & EXT3_FEATURE_RO_COMPAT_UNSUPPORTED) && |
487 |
!(fi & EXT3_FEATURE_INCOMPAT_UNSUPPORTED)) |
488 |
return -BLKID_ERR_PARAM; |
489 |
|
490 |
/* |
485 |
/* |
491 |
* If the filesystem does not have a journal and ext2 is not |
486 |
* If the filesystem does not have a journal and ext2 is not |
492 |
* present, then force this to be detected as an ext2 |
487 |
* present, then force this to be detected as an ext2 |
Lines 498-499
Link Here
|
498 |
get_linux_version() >= EXT4_SUPPORTS_EXT2) |
493 |
get_linux_version() >= EXT4_SUPPORTS_EXT2) |
499 |
goto force_ext4; |
494 |
goto force_ext4; |
|
|
495 |
/* Ext4 has at least one feature which ext3 doesn't understand */ |
496 |
if (!(frc & EXT3_FEATURE_RO_COMPAT_UNSUPPORTED) && |
497 |
!(fi & EXT3_FEATURE_INCOMPAT_UNSUPPORTED)) |
498 |
return -BLKID_ERR_PARAM; |
499 |
|
500 |
/* |
500 |
/* |
501 |
* If the filesystem is a OK for use by in-development |
501 |
* If the filesystem is a OK for use by in-development |
502 |
* filesystem code, and ext4dev is supported or ext4 is not |
502 |
* filesystem code, and ext4dev is supported or ext4 is not |