]> sourceware.org Git - lvm2.git/commit
locking: activate_lv_excl return correct error code
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 1 Nov 2013 09:26:43 +0000 (10:26 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 1 Nov 2013 12:02:13 +0000 (13:02 +0100)
commit1bde9f68cea61c7ee085588f2595ed52277da084
treeec162b4a42a14a27b964c2defbed83e995b66d72
parentde7531d384b1b505801ac232da45b9ffe58f061b
locking: activate_lv_excl return correct error code

Correct return code of activate_lv_excl().

Function is not supposed to return activation state of
activated volume, but return code of the operation.
Since i.e. when activation filter is allowing to activate
volume on current system, it is still success even though
no volume is activated.
WHATS_NEW
lib/locking/locking.c
This page took 0.042827 seconds and 5 git commands to generate.