Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2018 21:36:29 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r334249 - projects/pnfs-planb-server/sys/fs/nfsclient
Message-ID:  <201805262136.w4QLaT1B032029@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Sat May 26 21:36:28 2018
New Revision: 334249
URL: https://svnweb.freebsd.org/changeset/base/334249

Log:
  Fix the NFSv4.1 client for layout callback handling.
  The code slept on the wrong event (address).
  This fix will go in head soon, but I wanted the fix here, since it affects
  testing of the pNFS server.

Modified:
  projects/pnfs-planb-server/sys/fs/nfsclient/nfs_clstate.c

Modified: projects/pnfs-planb-server/sys/fs/nfsclient/nfs_clstate.c
==============================================================================
--- projects/pnfs-planb-server/sys/fs/nfsclient/nfs_clstate.c	Sat May 26 21:31:01 2018	(r334248)
+++ projects/pnfs-planb-server/sys/fs/nfsclient/nfs_clstate.c	Sat May 26 21:36:28 2018	(r334249)
@@ -2721,7 +2721,7 @@ tryagain2:
 				     NFSV4LOCK_LOCK) != 0) {
 					lyp->nfsly_lock.nfslock_lock |=
 					    NFSV4LOCK_WANTED;
-					(void)nfsmsleep(&lyp->nfsly_lock,
+					nfsmsleep(&lyp->nfsly_lock.nfslock_lock,
 					    NFSCLSTATEMUTEXPTR, PZERO, "nfslyp",
 					    NULL);
 					goto tryagain2;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805262136.w4QLaT1B032029>