mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
9d9b87c121
If a client requests a blocking lock, is denied, then requests it again,
then here in nlmsvc_lock() we will call vfs_lock_file() without FL_SLEEP
set, because we've already queued a block and don't need the locks code
to do it again.
But that means vfs_lock_file() will return -EAGAIN instead of
FILE_LOCK_DENIED. So we still need to translate that -EAGAIN return
into a nlm_lck_blocked error in this case, and put ourselves back on
lockd's block list.
The bug was introduced by
|
||
---|---|---|
.. | ||
clntlock.c | ||
clntproc.c | ||
grace.c | ||
host.c | ||
Makefile | ||
mon.c | ||
svc.c | ||
svc4proc.c | ||
svclock.c | ||
svcproc.c | ||
svcshare.c | ||
svcsubs.c | ||
xdr.c | ||
xdr4.c |