diff options
author | Jonathan Earl Brassow <jbrassow@redhat.com> | 2011-03-29 12:51:57 +0000 |
---|---|---|
committer | Jonathan Earl Brassow <jbrassow@redhat.com> | 2011-03-29 12:51:57 +0000 |
commit | 60c10a45ce9ff9e1378465868e48cf5bcee1fe99 (patch) | |
tree | 9f7193d51ff2638398b96161085056f685545666 /tools/lvchange.c | |
parent | 114faabf044b9693cdd279c0fa5e64551656c210 (diff) | |
download | lvm2-60c10a45ce9ff9e1378465868e48cf5bcee1fe99.tar.gz lvm2-60c10a45ce9ff9e1378465868e48cf5bcee1fe99.tar.xz lvm2-60c10a45ce9ff9e1378465868e48cf5bcee1fe99.zip |
s/MIRROR_NOTSYNCED/LV_NOTSYNCED/ - Flag will may refer to more than just mirrors
Diffstat (limited to 'tools/lvchange.c')
-rw-r--r-- | tools/lvchange.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lvchange.c b/tools/lvchange.c index f3b1e767..7979ffa6 100644 --- a/tools/lvchange.c +++ b/tools/lvchange.c @@ -245,7 +245,7 @@ static int lvchange_resync(struct cmd_context *cmd, * it to reset the sync status. We only need to * worry about persistent logs. */ - if (!log_lv && !(lv->status & MIRROR_NOTSYNCED)) { + if (!log_lv && !(lv->status & LV_NOTSYNCED)) { if (active && !activate_lv(cmd, lv)) { log_error("Failed to reactivate %s to resynchronize " "mirror", lv->name); @@ -254,7 +254,7 @@ static int lvchange_resync(struct cmd_context *cmd, return 1; } - lv->status &= ~MIRROR_NOTSYNCED; + lv->status &= ~LV_NOTSYNCED; if (log_lv) { /* Separate mirror log so we can clear it */ |