diff options
author | ru <ru@FreeBSD.org> | 2005-11-18 14:01:11 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-11-18 14:01:11 +0000 |
commit | ea40f2d909531f9ef9d19593acb98a1fd5b775f5 (patch) | |
tree | 19d01dee7fa6a9fc596f13f10090b4f58523a82a /share/man/man9/VFS_LOCK_GIANT.9 | |
parent | 19565cbab29bdfff42b5a3fb6a733bd84204d2cd (diff) | |
download | FreeBSD-src-ea40f2d909531f9ef9d19593acb98a1fd5b775f5.zip FreeBSD-src-ea40f2d909531f9ef9d19593acb98a1fd5b775f5.tar.gz |
Unbreak and fix markup.
Diffstat (limited to 'share/man/man9/VFS_LOCK_GIANT.9')
-rw-r--r-- | share/man/man9/VFS_LOCK_GIANT.9 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/share/man/man9/VFS_LOCK_GIANT.9 b/share/man/man9/VFS_LOCK_GIANT.9 index 11aee93..87c28da 100644 --- a/share/man/man9/VFS_LOCK_GIANT.9 +++ b/share/man/man9/VFS_LOCK_GIANT.9 @@ -33,7 +33,7 @@ .Sh NAME .Nm VFS_LOCK_GIANT , .Nm VFS_UNLOCK_GIANT -.Nd "Conditionally lock and unlock Giant around entry into VFS" +.Nd "conditionally lock and unlock Giant around entry into VFS" .Sh SYNOPSIS .In sys/param.h .In sys/vnode.h @@ -44,16 +44,18 @@ .Sh DESCRIPTION .Fn VFS_LOCK_GIANT will conditionally acquire the -.Dv Giant +.Va Giant lock if the file system referenced by .Fa mp -is marked as MPSAFE or not, returning a flag indicating whether Giant was +is marked as MPSAFE or not, returning a flag indicating whether +.Va Giant +was set, which may later be passed to .Fn VFS_UNLOCK_GIANT . The value of .Fa mp will typically be derived from the mount pointer in a -.Xr vnode +.Vt vnode on which a VFS operation will be performed. .Pp .Fn VFS_UNLOCK_GIANT @@ -63,7 +65,7 @@ lock if the passed .Fa vfslocked argument is non-zero. It is expected that the argument will be derived from the return values of -.Vn VFS_LOCK_GIANT +.Fn VFS_LOCK_GIANT or .Xr NDHASGIANT 9 . .Sh RETURN VALUES @@ -76,6 +78,7 @@ was acquired. .Xr NDHASGIANT 9 , .Xr vnode 9 .Sh AUTHORS +.An -nosplit MPSAFE VFS support for .Fx was implemented by @@ -84,7 +87,6 @@ was implemented by This manual page was written by .An Robert Watson . .Sh BUGS -.Pp Non-MPSAFE file systems exist, requiring callers conditional locking and unlocking of .Va Giant . |