diff options
author | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-09-17 17:07:31 +0000 |
---|---|---|
committer | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-09-17 17:07:31 +0000 |
commit | 22b5a20f98f054f77495b44e2f7e676ffa6883c5 (patch) | |
tree | 43a626aa0663aebcef6bf933ddc58810fc40adf8 /debian/patches | |
parent | 2f4bf3f604f2d63bf86b85a0369b324363840e50 (diff) |
removed debugging output; preparing release
Diffstat (limited to 'debian/patches')
-rwxr-xr-x | debian/patches/50-superblock-partition-limit.dpatch | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/debian/patches/50-superblock-partition-limit.dpatch b/debian/patches/50-superblock-partition-limit.dpatch index 9259240a..eea10115 100755 --- a/debian/patches/50-superblock-partition-limit.dpatch +++ b/debian/patches/50-superblock-partition-limit.dpatch @@ -6,9 +6,9 @@ @DPATCH@ diff -urNad mdadm.git~/config.c mdadm.git/config.c ---- mdadm.git~/config.c 2006-09-14 20:10:13.000000000 +0200 -+++ mdadm.git/config.c 2006-09-14 20:10:24.000000000 +0200 -@@ -222,28 +222,87 @@ +--- mdadm.git~/config.c 2006-09-17 19:06:01.000000000 +0200 ++++ mdadm.git/config.c 2006-09-17 19:06:36.000000000 +0200 +@@ -222,28 +222,82 @@ mddev_dev_t load_partitions(void) { FILE *f = fopen("/proc/partitions", "r"); @@ -42,8 +42,6 @@ diff -urNad mdadm.git~/config.c mdadm.git/config.c + ptr = strchr(buf, '\n'); + if (ptr) *ptr = '\0'; + -+ fprintf(stderr, "Read line: %s\n", buf); -+ + /* + * Extract the major and minor numbers and obtain the device node name. + * 10 is the max number of digits expected in a major/minor number @@ -78,8 +76,6 @@ diff -urNad mdadm.git~/config.c mdadm.git/config.c + while (!isspace(*(++mp))); + *mp = '\0'; + -+ fprintf(stderr, "Parsed: mj=%lu, mn=%lu, n=%s, k=%s\n", major, minor, name, kernel_name); -+ + /* + * Check if this could be a partition of the previous device + * (the disk _always_ comes just before the first partition, cf. @@ -94,7 +90,6 @@ diff -urNad mdadm.git~/config.c mdadm.git/config.c + * confused when a partition with an md superblock lives very close to + * the end of a disk. + */ -+ fprintf(stderr, "Pruning: %s\n", last_device_name); + d = rv->next; + free(rv->devname); + free(rv); |