Date: Sun, 17 May 2009 19:33:48 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfsserver nfs_nfsdport.c Message-ID: <200905171934.n4HJY8AG078260@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2009-05-17 19:33:48 UTC FreeBSD src repository Modified files: sys/fs/nfsserver nfs_nfsdport.c Log: SVN rev 192256 on 2009-05-17 19:33:48Z by rmacklem Fix the acquisition of local locks via VOP_ADVLOCK() by the experimental nfsv4 server. It was setting the a_id argument to a fixed value, but that wasn't sufficient for FreeBSD8. Instead, set l_pid and l_sysid to 0 plus set the F_REMOTE flag to indicate that these fields are used to check for same lock owner. Since, for NFSv4, a lockowner is a ClientID plus an up to 1024byte name, it can't be put in l_sysid easily. I also renamed the p variable to td, since it's a thread ptr. Approved by: kib (mentor) Revision Changes Path 1.9 +28 -11 src/sys/fs/nfsserver/nfs_nfsdport.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905171934.n4HJY8AG078260>