[lvm-devel] LVM2 ./WHATS_NEW ./WHATS_NEW_DM libdm/libdm-de ...
Alasdair G Kergon
agk at redhat.com
Wed Apr 7 23:00:39 UTC 2010
On Thu, Apr 08, 2010 at 12:31:44AM +0200, Peter Rockai wrote:
> As far as I can tell, this r = 0 is new behaviour that breaks a number
> of tests and may break user scripts. Is it necessary?
Well the tests weren't working for other reasons, but I want to see what
fails and why before deciding what to do about it.
The code was inconsistent - if the device being deleted is opened before
this if statement, the function would return success, but if the device
being deleted is opened just after it (but before the real deletion) it would
return failure. (It shouldn't be open at all if this point is reached.)
Alasdair
More information about the lvm-devel
mailing list