- Call VFS_ROOT() with LK_EXCLUSIVE.

Sponsored by:	Isilon Systems, Inc.
This commit is contained in:
Jeff Roberson 2005-03-24 07:33:45 +00:00
parent 469ec10c1e
commit 080c061ad0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144057

View file

@ -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);