mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
STABLE14-macos-locking-behavior-20060117
FIXES 25543 F_UNLCK is send as a command, remap to F_SETLK like everyone else (cherry picked from commit b81d0cf8af1c5788de399b630545945004f65345)
This commit is contained in:
parent
39b8b95820
commit
6392ea2d49
@ -1727,7 +1727,9 @@ afs_vop_advlock(ap)
|
||||
#endif
|
||||
AFS_GLOCK();
|
||||
error =
|
||||
afs_lockctl(VTOAFS(ap->a_vp), ap->a_fl, ap->a_op, tcr, (int)ap->a_id);
|
||||
afs_lockctl(VTOAFS(ap->a_vp), ap->a_fl,
|
||||
ap->a_op == F_UNLCK ? F_SETLK : ap->a_op, tcr,
|
||||
(int)ap->a_id);
|
||||
AFS_GUNLOCK();
|
||||
return error;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user