Robert Watson eda8b2821f When getting back an NLM DENIED response for a requested lock from the
server, map it to EAGAIN locally rather than EACCES.  The NLM spec
indicates the DENIED corresponds to lock contention, not a permission
failure.  This fixes O_EXLOCK/O_SHLOCK with O_NONBLOCK, which would
previously give a permission error, which in turn fixes things
like mailq(8) and lockf(1) over NFS.

Approved by:	scottl (re)
Reviewed by:	truckman, Andrew P Lentvorski, Jr. <bsder@allcaps.org>
Idea from:	truckman
2003-05-15 03:19:30 +00:00
..
2003-04-04 17:49:21 +00:00
2002-12-27 12:15:40 +00:00
2003-05-02 14:55:42 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-02-24 22:53:26 +00:00
2003-02-24 22:53:26 +00:00
2002-12-27 12:15:40 +00:00
2003-04-28 11:54:01 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2002-11-27 15:31:08 +00:00
2003-04-04 17:49:21 +00:00
2003-04-25 22:31:06 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2002-12-14 00:20:43 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-01-09 04:35:38 +00:00
2003-04-29 19:53:00 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-05-08 00:28:36 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2002-12-27 12:15:40 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-04-16 09:53:29 +00:00
2003-02-24 22:53:26 +00:00
2003-04-04 17:49:21 +00:00
2003-04-04 17:49:21 +00:00
2003-05-04 22:13:00 +00:00
2003-03-02 21:04:21 +00:00
2003-04-04 17:49:21 +00:00