[lvm-devel] Re: LVM2 ./WHATS_NEW daemons/clvmd/clvm.h daemons/ ...

Alasdair G Kergon agk at redhat.com
Wed May 20 09:02:50 UTC 2009


On Tue, May 19, 2009 at 10:39:05AM -0000, mbroz at sourceware.org wrote:
> +++ LVM2/lib/locking/locking.c	2009/05/19 10:39:00	1.58
> +int remote_lock_held(const char *vol)

> +	return mode == LCK_NULL ? 0 : 1;

I think this should still perform the activate_lock_excl() trick 
here in cases where the new function is not defined.

We shouldn't need to break this if someone is still using an
external locking module they have not updated.

Alasdair




More information about the lvm-devel mailing list