diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index 28e5d64ac..8eeb34682 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.66 - =============================== + Fix read-only identical table reload supression. Version 1.02.65 - 8th July 2011 =============================== diff --git a/libdm/ioctl/libdm-iface.c b/libdm/ioctl/libdm-iface.c index 5e19868c5..03b624927 100644 --- a/libdm/ioctl/libdm-iface.c +++ b/libdm/ioctl/libdm-iface.c @@ -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;