Date: Thu, 15 Apr 2010 22:57:30 +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: <201004152257.o3FMvgea010043@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2010-04-15 22:57:30 UTC FreeBSD src repository Modified files: sys/fs/nfs nfs_commonport.c nfsclstate.h sys/fs/nfsclient nfs_clport.c nfs_clrpcops.c nfs_clstate.c Log: SVN rev 206688 on 2010-04-15 22:57:30Z by rmacklem 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. MFC after: 1 week Revision Changes Path 1.8 +2 -0 src/sys/fs/nfs/nfs_commonport.c 1.2 +1 -0 src/sys/fs/nfs/nfsclstate.h 1.9 +2 -0 src/sys/fs/nfsclient/nfs_clport.c 1.7 +7 -1 src/sys/fs/nfsclient/nfs_clrpcops.c 1.10 +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?201004152257.o3FMvgea010043>