diff options
author | pjd <pjd@FreeBSD.org> | 2006-08-26 11:32:40 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-08-26 11:32:40 +0000 |
commit | e6c176c58b45a8d47ddb8398bda0a81537f91a24 (patch) | |
tree | c6760d425525a00d91a43c08ef7c499287b2f0c9 /share/man/man9/VFS_ROOT.9 | |
parent | 4fdc09f2f98964647c4680e3d5e0ff014cb8bd3e (diff) | |
download | FreeBSD-src-e6c176c58b45a8d47ddb8398bda0a81537f91a24.zip FreeBSD-src-e6c176c58b45a8d47ddb8398bda0a81537f91a24.tar.gz |
Update.
Diffstat (limited to 'share/man/man9/VFS_ROOT.9')
-rw-r--r-- | share/man/man9/VFS_ROOT.9 | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/share/man/man9/VFS_ROOT.9 b/share/man/man9/VFS_ROOT.9 index 32b4f2f..7af1fe6 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 |