]> sourceware.org Git - lvm2.git/commitdiff
Fix read-only identical table reload supression.
authorAlasdair Kergon <agk@redhat.com>
Sun, 24 Jul 2011 23:59:03 +0000 (23:59 +0000)
committerAlasdair Kergon <agk@redhat.com>
Sun, 24 Jul 2011 23:59:03 +0000 (23:59 +0000)
WHATS_NEW_DM
libdm/ioctl/libdm-iface.c

index 28e5d64accbb30f5832b0615b26a997eb8b97932..8eeb34682609e3ed5b9f74c73faf0fb981afa751 100644 (file)
@@ -1,5 +1,6 @@
 Version 1.02.66 - 
 ===============================
+  Fix read-only identical table reload supression.
 
 Version 1.02.65 - 8th July 2011
 ===============================
index 5e19868c54b4d2237aba7f8d42668bb5c01efe59..03b624927119c22421ec00b2810aada556090ff4 100644 (file)
@@ -1848,7 +1848,7 @@ static int _reload_with_suppression_v4(struct dm_task *dmt)
                t2 = t2->next;
        dmt->existing_table_size = t2 ? t2->start + t2->length : 0;
 
-       if ((task->dmi.v4->flags & DM_READONLY_FLAG) ? 1 : 0 != dmt->read_only)
+       if (((task->dmi.v4->flags & DM_READONLY_FLAG) ? 1 : 0) != dmt->read_only)
                goto no_match;
 
        t1 = dmt->head;
This page took 0.033541 seconds and 5 git commands to generate.