docs/90541: [PATCH] Missing include in VFS_LOCK_GIANT.9

Wojciech A. Koszek dunstan at freebsd.czest.pl
Sat Dec 17 12:00:14 UTC 2005


>Number:         90541
>Category:       docs
>Synopsis:       [PATCH] Missing include in VFS_LOCK_GIANT.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 17 12:00:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Wojciech A. Koszek
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD laptop.freebsd.czest.pl 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Dec 14 22:20:34 CET 2005 dunstan at laptop.freebsd.czest.pl:/usr/obj/usr/src/sys/LAPTOP i386


>Description:
mount.h is the place where VFS_UNLOCK_GIANT is defined.

dunstan at laptop:(/usr/src/sys/sys)$ grep VFS_UNLOCK_GIANT *
mount.h:#define VFS_UNLOCK_GIANT(locked)        if ((locked))
mtx_unlock(&Giant);

>How-To-Repeat:
>Fix:

--- diff.0.VFS_LOCK_GIANT.9 begins here ---
(c) 2005 <Wojciech A. Koszek dunstan^freebsd.czest.pl>

Patch against FreeBSD 7.0-CURRENT, kern.osreldate: 700008.

diff -upr /usr/src/share/man/man9/VFS_LOCK_GIANT.9 src/share/man/man9/VFS_LOCK_GIANT.9
--- /usr/src/share/man/man9/VFS_LOCK_GIANT.9	Fri Nov 18 15:01:11 2005
+++ src/share/man/man9/VFS_LOCK_GIANT.9	Sat Dec 10 22:53:24 2005
@@ -35,6 +35,7 @@
 .Nm VFS_UNLOCK_GIANT
 .Nd "conditionally lock and unlock Giant around entry into VFS"
 .Sh SYNOPSIS
+.In sys/mount.h
 .In sys/param.h
 .In sys/vnode.h
 .Ft int
--- diff.0.VFS_LOCK_GIANT.9 ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list