]> sourceware.org Git - lvm2.git/commit
Allow implicit lock conversion for pre/post callbacks.
authorMilan Broz <mbroz@redhat.com>
Wed, 9 Dec 2009 18:55:53 +0000 (18:55 +0000)
committerMilan Broz <mbroz@redhat.com>
Wed, 9 Dec 2009 18:55:53 +0000 (18:55 +0000)
commit97d28ae4d72074e96356d352f4c306d6661b5261
treef67ba9df4c391b3f148b6f56e843c4f6767ddff7
parentb5bad15dae0677581bdd9e746b5939a5e8599ebb
Allow implicit lock conversion for pre/post callbacks.

This is unnoticed regression from commit 31672ff60e405795cad70d6d7888ac011f5373ce

The pre/post callback need to convert lock always, local node
is going to modify metadata in this case, it it fails conversion,
the call is ignored.

Also it fixes bug when the lock is not yet held, we cannot set LKF_CONVERT
in this case, it will fail because this lock do not exist.

Note that the automatic conversion is still disabled in activate
call, so the original fix (reactivation of exlusive LV) should
be still in place.
WHATS_NEW
daemons/clvmd/lvm-functions.c
This page took 0.037894 seconds and 5 git commands to generate.