diff --git a/share/man/man9/VFS_ROOT.9 b/share/man/man9/VFS_ROOT.9 index 32b4f2f62147..7af1fe6d9394 100644 --- a/share/man/man9/VFS_ROOT.9 +++ b/share/man/man9/VFS_ROOT.9 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 24, 1996 +.Dd August 26, 2006 .Os .Dt VFS_ROOT 9 .Sh NAME @@ -39,14 +39,22 @@ .In sys/mount.h .In sys/vnode.h .Ft int -.Fn VFS_ROOT "struct mount *mp" "struct vnode **vpp" "struct thread *td" +.Fn VFS_ROOT "struct mount *mp" "int flags" "struct vnode **vpp" "struct thread *td" .Sh DESCRIPTION Return a locked vnode for the root directory of the file system. .Pp Its arguments are: -.Bl -tag -width vpp +.Bl -tag -width flags .It Fa mp The file system. +.It Fa flags +The lock type. Could be +.Dv LK_EXCLUSIVE +or +.Dv LK_SHARED . +File system is free to ignore the +.Fa flags +argument and instead acquire an exclusive lock. .It Fa vpp Return parameter for the root vnode. .It Fa td