openbsd-flock-fix-20030707
authorJim Rees <rees@umich.edu>
Mon, 7 Jul 2003 23:09:27 +0000 (23:09 +0000)
committerJim Rees <rees@umich.edu>
Mon, 7 Jul 2003 23:09:27 +0000 (23:09 +0000)
commitb6a2aae8216822024d1ca844beaf866a02f3cdff
treeaf2ca1f434b0ddded19a0844f45486137ae78236
parent75c205ed892a36be13b75d37718d8207c5a5abcb
openbsd-flock-fix-20030707

release all locks on last close, not just those for this process
  (not correct but better; needed for posix)
only sleep for remaining time in afs_osi_Wait if woken before timeout
add proto for afs_open
src/afs/OBSD/osi_sleep.c
src/afs/OBSD/osi_vnodeops.c
src/afs/VNOPS/afs_vnop_flock.c
src/afs/VNOPS/afs_vnop_open.c
src/afs/VNOPS/afs_vnop_write.c
src/afs/afs_analyze.c
src/afs/afs_prototypes.h