Date: Fri, 23 Apr 2010 00:12:23 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfs nfs_commonport.c nfsclstate.h src/sys/fs/nfsclient nfs_clport.c nfs_clrpcops.c nfs_clstate.c Message-ID: <201004230012.o3N0Cq6E095965@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2010-04-23 00:12:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/fs/nfs nfs_commonport.c nfsclstate.h sys/fs/nfsclient nfs_clport.c nfs_clrpcops.c nfs_clstate.c Log: SVN rev 207085 on 2010-04-23 00:12:23Z by rmacklem MFC: r206688 The experimental NFS client was not filling in recovery credentials for opens done locally in the client when a delegation for the file was held. This could cause the client to crash in crsetgroups() when recovering from a server crash/reboot. This patch fills in the recovery credentials for this case, in order to avoid the client crash. Also, add KASSERT()s to the credential copy functions, to catch any other cases where the credentials aren't filled in correctly. Revision Changes Path 1.4.2.4 +2 -0 src/sys/fs/nfs/nfs_commonport.c 1.1.2.2 +1 -0 src/sys/fs/nfs/nfsclstate.h 1.5.2.5 +2 -0 src/sys/fs/nfsclient/nfs_clport.c 1.4.2.3 +7 -1 src/sys/fs/nfsclient/nfs_clrpcops.c 1.7.2.4 +7 -2 src/sys/fs/nfsclient/nfs_clstate.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004230012.o3N0Cq6E095965>