summaryrefslogtreecommitdiffstats
path: root/daemons/clvmd/lvm-functions.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2008-05-09 19:26:58 +0000
committerAlasdair Kergon <agk@redhat.com>2008-05-09 19:26:58 +0000
commit3dfd8f12dc4f87bc4bcfe999f3e280bf5f5df264 (patch)
tree98a83f9d2766129c79c544183b40e3a867f00362 /daemons/clvmd/lvm-functions.c
parent98fd1ce3327acde7f49c0e39426c6eeb40249f33 (diff)
downloadlvm2-3dfd8f12dc4f87bc4bcfe999f3e280bf5f5df264.tar.gz
lvm2-3dfd8f12dc4f87bc4bcfe999f3e280bf5f5df264.tar.xz
lvm2-3dfd8f12dc4f87bc4bcfe999f3e280bf5f5df264.zip
more cleanup
Diffstat (limited to 'daemons/clvmd/lvm-functions.c')
-rw-r--r--daemons/clvmd/lvm-functions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemons/clvmd/lvm-functions.c b/daemons/clvmd/lvm-functions.c
index 84e0aa5d..f226e6e0 100644
--- a/daemons/clvmd/lvm-functions.c
+++ b/daemons/clvmd/lvm-functions.c
@@ -472,8 +472,8 @@ static void drop_vg_locks()
popen
("lvm pvs --config 'log{command_names=0 prefix=\"\"}' --nolocking --noheadings -o vg_name", "r");
- sync_unlock("P_#orphans", LCK_EXCL);
- sync_unlock("P_#global", LCK_EXCL);
+ sync_unlock("P_" VG_ORPHANS, LCK_EXCL);
+ sync_unlock("P_" VG_GLOBAL, LCK_EXCL);
if (!vgs)
return;