Skip to contentSkip to conversation

+ partitions-add-aix-lvm-partition-support-files-v2.patch added to -mm tree

PATCH [email protected] 1 participant 1 message May 20, 2013 Block layer

lore
Share & tools
lore
#0 lore raw

Subject: + partitions-add-aix-lvm-partition-support-files-v2.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 20 May 2013 16:53:17 -0700

The patch titled
Subject: partitions-add-aix-lvm-partition-support-files-v2
has been added to the -mm tree. Its filename is
partitions-add-aix-lvm-partition-support-files-v2.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Philippe De Muyter <[email protected]>
Subject: partitions-add-aix-lvm-partition-support-files-v2

Fix a problem in the discovering of small (1 pp) partitions in presence of discontiguous partitions.

---

 block/partitions/aix.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
block/partitions/aix.c renamed from block/partitions/aix.c~partitions-add-aix-lvm-partition-support-files-v2 +5 -4
diff -puN block/partitions/aix.c~partitions-add-aix-lvm-partition-support-files-v2 block/partitions/aix.c
@@ -257,12 +257,13 @@ int aix_partition(struct parsed_partitio
 				continue;
 			}
 			lvip[lv_ix].pps_found += 1;
-			if (lp_ix != next_lp_ix)
-				continue;
-			if (lp_ix == 1)
+			if (lp_ix == 1) {
 				cur_lv_ix = lv_ix;
-			else if (lv_ix != cur_lv_ix)
 				next_lp_ix = 1;
+			} else if (lv_ix != cur_lv_ix || lp_ix != next_lp_ix) {
+				next_lp_ix = 1;
+				continue;
+			}
 			if (lp_ix == lvip[lv_ix].pps_per_lv) {
 				char tmp[70];
 

_

Patches currently in -mm which might be from [email protected] are

partitions-msdosc-end-of-line-whitespace-and-semicolon-cleanup.patch partitions-add-aix-lvm-partition-support-files.patch partitions-add-aix-lvm-partition-support-files-v2.patch partitions-add-aix-lvm-partition-support-files-checkpatch-fixes.patch partitions-add-aix-lvm-partition-support-files-compile-aixc-if-configured.patch partitions-add-aix-lvm-partition-support-files-add-the-aix_partition-entry.patch partitions-msdos-enumerate-also-aix-lvm-partitions.patch