diff options
Diffstat (limited to 'sys-fs/e2fsprogs/files/e2fsprogs-1.38-blkid-ext23.patch')
-rw-r--r-- | sys-fs/e2fsprogs/files/e2fsprogs-1.38-blkid-ext23.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sys-fs/e2fsprogs/files/e2fsprogs-1.38-blkid-ext23.patch b/sys-fs/e2fsprogs/files/e2fsprogs-1.38-blkid-ext23.patch new file mode 100644 index 000000000000..5bc2fc816925 --- /dev/null +++ b/sys-fs/e2fsprogs/files/e2fsprogs-1.38-blkid-ext23.patch @@ -0,0 +1,20 @@ +changeset: 1792:6949f7a75122 +user: tytso@mit.edu +date: Tue Sep 6 06:26:45 2005 -0400 +summary: Fix blkid library so that the cache validation notices ext2 to ext3 conversion + +diff -r 85a387fcad67 -r 6949f7a75122 lib/blkid/probe.c +--- a/lib/blkid/probe.c Tue Sep 6 09:59:52 2005 ++++ b/lib/blkid/probe.c Tue Sep 6 10:26:45 2005 +@@ -135,6 +135,11 @@ + /* Distinguish between jbd and ext2/3 fs */ + if (blkid_le32(es->s_feature_incompat) & + EXT3_FEATURE_INCOMPAT_JOURNAL_DEV) ++ return -BLKID_ERR_PARAM; ++ ++ /* Distinguish between ext3 and ext2 */ ++ if ((blkid_le32(es->s_feature_compat) & ++ EXT3_FEATURE_COMPAT_HAS_JOURNAL)) + return -BLKID_ERR_PARAM; + + get_ext2_info(dev, buf); |