Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2010 08:36:07 +0200
From:      Lars Hartmann <lars@chaotika.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: [PATCH] Fix 'implicit declaration' warning and update vgone(9)
Message-ID:  <1288161367.4280.21.camel@apollon>
In-Reply-To: <1288160610.4280.18.camel@apollon>
References:  <1288160610.4280.18.camel@apollon>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-Q0aIyj34DgKHBcvqwOoZ
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

attached the fixed vgonel.patch
-- 
Lars Hartmann <lars@chaotika.org>


--=-Q0aIyj34DgKHBcvqwOoZ
Content-Disposition: attachment; filename="vgonel.patch"
Content-Type: text/x-patch; name="vgonel.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit

fix implicit declaration warning - found by Ben Kaduk <kaduk@mit.edu>

From: Lars Hartmann <lars@chaotika.org>


---
 sys/sys/vnode.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index e82f8ea..8ec8d1f 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -626,6 +626,7 @@ void	vdestroy(struct vnode *);
 int	vflush(struct mount *mp, int rootrefs, int flags, struct thread *td);
 int	vget(struct vnode *vp, int lockflag, struct thread *td);
 void	vgone(struct vnode *vp);
+void	vgonel(struct vnode *vp);
 void	vhold(struct vnode *);
 void	vholdl(struct vnode *);
 int	vinvalbuf(struct vnode *vp, int save, int slpflag, int slptimeo);

--=-Q0aIyj34DgKHBcvqwOoZ--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1288161367.4280.21.camel>