Date: Sun, 19 Jun 2011 02:24:36 +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: <201106190224.p5J2OkTG055691@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2011-06-19 02:24:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/fs/nfs nfs_var.h sys/fs/nfsclient nfs_clport.c nfs_clrpcops.c nfs_clstate.c nfs_clvnops.c Log: SVN rev 223286 on 2011-06-19 02:24:36Z by rmacklem MFC: r222719 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(). Revision Changes Path 1.6.2.25 +10 -9 src/sys/fs/nfs/nfs_var.h 1.5.2.16 +27 -32 src/sys/fs/nfsclient/nfs_clport.c 1.4.2.19 +9 -9 src/sys/fs/nfsclient/nfs_clrpcops.c 1.7.2.16 +17 -15 src/sys/fs/nfsclient/nfs_clstate.c 1.13.2.28 +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?201106190224.p5J2OkTG055691>