a8122d16b5
under the subject "F_RDLCK lock to FreeBSD NFS fails to R/O target file". This occurred because the server side NLM always checked for VWRITE access, irrespective of the type of lock request. This patch replaces VOP_ACCESS(..VWRITE..) with one appropriate to the lock operation. It allows unlock and lock cancellation to be done without a check of VOP_ACCESS(), so that files can't be left locked indefinitely after the file permissions have been changed. Discussed with: zack Submitted by: jwd (earlier version) Reviewed by: dfr MFC after: 2 weeks |
||
---|---|---|
.. | ||
nlm_advlock.c | ||
nlm_prot_clnt.c | ||
nlm_prot_impl.c | ||
nlm_prot_server.c | ||
nlm_prot_svc.c | ||
nlm_prot_xdr.c | ||
nlm_prot.h | ||
nlm.h | ||
sm_inter_xdr.c | ||
sm_inter.h |