The following commit has been merged in the master branch:
commit cbf5f6341c389b0ae85f797ee7c73ba430a8b8f1
Author: Andrew Deason <[email protected]>
Date:   Thu Feb 18 11:42:27 2010 -0600

    VLockFile: Do not close fd on lock failure
    
    When we fail to acquire a lock in _VLockFd, do not close the fd if we
    fail to acquire the lock for any reason, since VLockFile does that for
    us already. There also may be other locks on that file, and we clearly
    do not want to release them when just one lock fails. VLockFile takes
    care of the necessary refcounting and fd closing, so don't do it in
    _VLockFd too.
    
    Change-Id: I65f27837dad033e0e84faf4aa0fb71ff26feda83
    Reviewed-on: http://gerrit.openafs.org/1344
    Tested-by: Andrew Deason <[email protected]>
    Reviewed-by: Derrick Brashear <[email protected]>
    Tested-by: Derrick Brashear <[email protected]>

 src/vol/vutil.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to