summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-03-24 07:33:45 +0000
committerjeff <jeff@FreeBSD.org>2005-03-24 07:33:45 +0000
commitc9591f9ecde6c2dcb84b934b65b4ffb61817f2d8 (patch)
tree33ef69252e75879d9a228fbac910615093f2dea4
parentca7edef8ef1c8acb8e70a2ed968a9dc46480b621 (diff)
downloadFreeBSD-src-c9591f9ecde6c2dcb84b934b65b4ffb61817f2d8.zip
FreeBSD-src-c9591f9ecde6c2dcb84b934b65b4ffb61817f2d8.tar.gz
- Call VFS_ROOT() with LK_EXCLUSIVE.
Sponsored by: Isilon Systems, Inc.
-rw-r--r--sys/ufs/ufs/ufs_extattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c
index 2d72a80..2d8ec43 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);
OpenPOWER on IntegriCloud