Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2011 20:39:08 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r222196 - head/sys/ufs/ufs
Message-ID:  <201105222039.p4MKd8dQ089647@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Sun May 22 20:39:07 2011
New Revision: 222196
URL: http://svn.freebsd.org/changeset/base/222196

Log:
  Fix the ufs/ffs file system so that it uses the lock
  flags argument added to VFS_FHTOVP() by r222167.
  
  Reviewed by:	mckusick

Modified:
  head/sys/ufs/ufs/ufs_vfsops.c

Modified: head/sys/ufs/ufs/ufs_vfsops.c
==============================================================================
--- head/sys/ufs/ufs/ufs_vfsops.c	Sun May 22 20:29:47 2011	(r222195)
+++ head/sys/ufs/ufs/ufs_vfsops.c	Sun May 22 20:39:07 2011	(r222196)
@@ -218,7 +218,7 @@ ufs_fhtovp(mp, ufhp, flags, vpp)
 	struct vnode *nvp;
 	int error;
 
-	error = VFS_VGET(mp, ufhp->ufid_ino, LK_EXCLUSIVE, &nvp);
+	error = VFS_VGET(mp, ufhp->ufid_ino, flags, &nvp);
 	if (error) {
 		*vpp = NULLVP;
 		return (error);



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