From owner-cvs-src-old@FreeBSD.ORG Fri Jul 16 23:17:23 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C02421065674 for ; Fri, 16 Jul 2010 23:17:23 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id ADB3D8FC08 for ; Fri, 16 Jul 2010 23:17:23 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o6GNHNAV021499 for ; Fri, 16 Jul 2010 23:17:23 GMT (envelope-from rmacklem@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o6GNHN2c021498 for cvs-src-old@freebsd.org; Fri, 16 Jul 2010 23:17:23 GMT (envelope-from rmacklem@repoman.freebsd.org) Message-Id: <201007162317.o6GNHN2c021498@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rmacklem@repoman.freebsd.org using -f From: Rick Macklem Date: Fri, 16 Jul 2010 23:17:05 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/nfsserver nfs_nfsdstate.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2010 23:17:23 -0000 rmacklem 2010-07-16 23:17:05 UTC FreeBSD src repository Modified files: sys/fs/nfsserver nfs_nfsdstate.c Log: SVN rev 210178 on 2010-07-16 23:17:05Z by rmacklem 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. Reported by: zack.kirsch at isilon.com MFC after: 2 weeks Revision Changes Path 1.18 +23 -0 src/sys/fs/nfsserver/nfs_nfsdstate.c