From 080c061ad0c91adb2c165c6011070e6dba7f6d26 Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Thu, 24 Mar 2005 07:33:45 +0000 Subject: [PATCH] - Call VFS_ROOT() with LK_EXCLUSIVE. Sponsored by: Isilon Systems, Inc. --- sys/ufs/ufs/ufs_extattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c index 2d72a804a2dd..2d8ec43e9fc4 100644 --- a/sys/ufs/ufs/ufs_extattr.c +++ b/sys/ufs/ufs/ufs_extattr.c @@ -457,7 +457,7 @@ ufs_extattr_autostart(struct mount *mp, struct thread *td) * Does UFS_EXTATTR_FSROOTSUBDIR exist off the filesystem root? * If so, automatically start EA's. */ - error = VFS_ROOT(mp, &rvp, td); + error = VFS_ROOT(mp, LK_EXCLUSIVE, &rvp, td); if (error) { printf("ufs_extattr_autostart.VFS_ROOT() returned %d\n", error);