]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/patches/udev-125-ext4_wo_journal.patch
remove more enused patches.
[ipfire-2.x.git] / src / patches / udev-125-ext4_wo_journal.patch
diff --git a/src/patches/udev-125-ext4_wo_journal.patch b/src/patches/udev-125-ext4_wo_journal.patch
deleted file mode 100644 (file)
index 77072ce..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -Naur udev-125.org/extras/volume_id/lib/ext.c udev-125/extras/volume_id/lib/ext.c
---- udev-125.org/extras/volume_id/lib/ext.c    2008-07-18 16:26:55.000000000 +0200
-+++ udev-125/extras/volume_id/lib/ext.c        2012-06-25 00:52:40.976563010 +0200
-@@ -160,32 +160,31 @@
-               goto found;
-       }
--      /* has journal */
--      if ((feature_compat & EXT3_FEATURE_COMPAT_HAS_JOURNAL) != 0) {
--              /* "use on development code" is ext4dev */
--              if ((flags & EXT2_FLAGS_TEST_FILESYS) != 0) {
--                      id->type = "ext4dev";
--                      goto found;
--              }
-+      /* "use on development code" is ext4dev */
-+      if ((flags & EXT2_FLAGS_TEST_FILESYS) != 0) {
-+              id->type = "ext4dev";
-+              goto found;
-+      }
--              /* incompatible ext3 features is ext4 */
--              if ((feature_ro_compat & EXT3_FEATURE_RO_COMPAT_UNSUPPORTED) != 0 ||
--                  (feature_incompat & EXT3_FEATURE_INCOMPAT_UNSUPPORTED) != 0) {
--                      id->type = "ext4";
--                      goto found;
--              }
-+      /* incompatible ext3 features is ext4 */
-+      if ((feature_ro_compat & EXT3_FEATURE_RO_COMPAT_UNSUPPORTED) != 0 ||
-+          (feature_incompat & EXT3_FEATURE_INCOMPAT_UNSUPPORTED) != 0) {
-+              id->type = "ext4";
-+              goto found;
-+      }
-+      /* has journal */
-+      if ((feature_compat & EXT3_FEATURE_COMPAT_HAS_JOURNAL) != 0) {
-               id->type = "ext3";
-               goto found;
-       } else {
--              /* no incompatible ext2 feature is ext2 */
-+      /* no incompatible ext2 feature is ext2 */
-               if ((feature_ro_compat & EXT2_FEATURE_RO_COMPAT_UNSUPPORTED) == 0 &&
-                   (feature_incompat & EXT2_FEATURE_INCOMPAT_UNSUPPORTED) == 0) {
-                       id->type = "ext2";
-                       goto found;
-               }
-       }
--
-       return -1;
- found: