summaryrefslogtreecommitdiffstats
path: root/tools/reporter.c
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2008-12-01 20:14:33 +0000
committerDave Wysochanski <dwysocha@redhat.com>2008-12-01 20:14:33 +0000
commit9d9589d173ae67329e419a99b8155f44ca7525c8 (patch)
treef60a7d5868da9048ec9fd0393e7dc55fa925bf03 /tools/reporter.c
parent89ef434fe02dfd8057d7da24c77872efc3ae555d (diff)
downloadlvm2-9d9589d173ae67329e419a99b8155f44ca7525c8.tar.gz
lvm2-9d9589d173ae67329e419a99b8155f44ca7525c8.tar.xz
lvm2-9d9589d173ae67329e419a99b8155f44ca7525c8.zip
Fix vgcreate race which could allow two parallel vgcreates to succeed,
with the second vgcreate overwriting the first. Obtain lock before calling vg_create(), which checks for existence of vgname and fails if it already exists.
Diffstat (limited to 'tools/reporter.c')
0 files changed, 0 insertions, 0 deletions