1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix read-only identical table reload supression.

This commit is contained in:
Alasdair Kergon 2011-07-24 23:59:03 +00:00
parent 830df40482
commit d3efe22fa2
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.66 - Version 1.02.66 -
=============================== ===============================
Fix read-only identical table reload supression.
Version 1.02.65 - 8th July 2011 Version 1.02.65 - 8th July 2011
=============================== ===============================

View File

@ -1848,7 +1848,7 @@ static int _reload_with_suppression_v4(struct dm_task *dmt)
t2 = t2->next; t2 = t2->next;
dmt->existing_table_size = t2 ? t2->start + t2->length : 0; 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; goto no_match;
t1 = dmt->head; t1 = dmt->head;