Date: Sun, 5 Jun 2011 18:17:37 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfs nfs_var.h src/sys/fs/nfsclient nfs_clport.c nfs_clrpcops.c nfs_clstate.c nfs_clvnops.c Message-ID: <201106051817.p55IHnGw090896@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2011-06-05 18:17:37 UTC
FreeBSD src repository
Modified files:
sys/fs/nfs nfs_var.h
sys/fs/nfsclient nfs_clport.c nfs_clrpcops.c nfs_clstate.c
nfs_clvnops.c
Log:
SVN rev 222719 on 2011-06-05 18:17:37Z by rmacklem
The new NFSv4 client was erroneously using "p" instead of
"p_leader" for the "id" for POSIX byte range locking. I think
this would only have affected processes created by rfork(2)
with the RFTHREAD flag specified. This patch fixes that by
passing the "id" down through the various functions from
nfs_advlock().
MFC after: 2 weeks
Revision Changes Path
1.30 +10 -9 src/sys/fs/nfs/nfs_var.h
1.23 +27 -32 src/sys/fs/nfsclient/nfs_clport.c
1.24 +9 -9 src/sys/fs/nfsclient/nfs_clrpcops.c
1.24 +17 -15 src/sys/fs/nfsclient/nfs_clstate.c
1.43 +3 -2 src/sys/fs/nfsclient/nfs_clvnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106051817.p55IHnGw090896>
