LVM2 ./WHATS_NEW lib/locking/file_locking.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2009-08-13 13:23:52
Modified files:
. : WHATS_NEW
lib/locking : file_locking.c
Log message:
Refactor file locking, lifting the flock wrapper code into separate functions. Also fixes a bug, where a nonblocking lock could, in certain race situations, succeed without actually obtaining the lock.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1237&r2=1.1238
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/locking/file_locking.c.diff?cvsroot=lvm2&r1=1.41&r2=1.42
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.52 - ================================= + Fix bug where non-blocking file locks could be granted in error. Make lvm2app pv_t, lv_t, vg_t handle definitions consistent with lvm_t. Fix vgextend error path - if ORPHAN lock fails, unlock / release vg (2.02.49). Fix compile warning in clvmd.
lib/locking/file_locking.c +70 -54
168 lines not on this page · raw message