Date: Sun, 1 Aug 2010 23:36:39 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfsserver nfs_nfsdstate.c Message-ID: <201008012336.o71Naqpw071949@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2010-08-01 23:36:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/fs/nfsserver nfs_nfsdstate.c Log: SVN rev 210739 on 2010-08-01 23:36:39Z by rmacklem MFC: r210178 Patch the experimental NFSv4 server so that it acquires a reference count on nfsv4rootfs_lock when dumping state, since these functions are not called by nfsd threads. Without this reference count, it is possible for an nfsd thread to acquire an exclusive lock on nfsv4rootfs_lock while the dump is in progress and then change the lists, potentially causing a crash. Revision Changes Path 1.10.2.9 +23 -0 src/sys/fs/nfsserver/nfs_nfsdstate.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008012336.o71Naqpw071949>