From dunstan@freebsd.czest.pl  Sat Dec 17 11:53:01 2005
Return-Path: <dunstan@freebsd.czest.pl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0718216A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 17 Dec 2005 11:53:01 +0000 (GMT)
	(envelope-from dunstan@freebsd.czest.pl)
Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5980D43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 17 Dec 2005 11:53:00 +0000 (GMT)
	(envelope-from dunstan@freebsd.czest.pl)
Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4])
	by freebsd.czest.pl (8.12.10/8.12.9) with ESMTP id jBHBtTPx066530
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 17 Dec 2005 11:55:29 GMT
	(envelope-from dunstan@freebsd.czest.pl)
Received: (from dunstan@localhost)
	by freebsd.czest.pl (8.13.4/8.12.9/Submit) id jBHBtTpF066529;
	Sat, 17 Dec 2005 11:55:29 GMT
	(envelope-from dunstan)
Message-Id: <200512171155.jBHBtTpF066529@freebsd.czest.pl>
Date: Sat, 17 Dec 2005 11:55:29 GMT
From: "Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
Reply-To: "Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] Missing include in VFS_LOCK_GIANT.9
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         90541
>Category:       docs
>Synopsis:       [PATCH] Missing include in VFS_LOCK_GIANT.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    simon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 17 12:00:12 GMT 2005
>Closed-Date:    Sat May 27 13:01:39 GMT 2006
>Last-Modified:  Sat May 27 13:01:39 GMT 2006
>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@laptop.freebsd.czest.pl:/usr/obj/usr/src/sys/LAPTOP i386


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

dunstan@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:
State-Changed-From-To: open->patched 
State-Changed-By: simon 
State-Changed-When: Sun Dec 18 08:07:49 UTC 2005 
State-Changed-Why:  
Committed (thought I modified the order of the includes to match 
style(9)).  Thanks for the submission! 

I will MFC in a week or so. 


Responsible-Changed-From-To: freebsd-doc->simon 
Responsible-Changed-By: simon 
Responsible-Changed-When: Sun Dec 18 08:07:49 UTC 2005 
Responsible-Changed-Why:  
Committed (thought I modified the order of the includes to match 
style(9)).  Thanks for the submission! 

I will MFC in a week or so. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90541 
State-Changed-From-To: patched->closed 
State-Changed-By: simon 
State-Changed-When: Sat May 27 13:01:17 UTC 2006 
State-Changed-Why:  
Close after MFC to RELENG_6. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90541 
>Unformatted:
