Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2007 16:06:59 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Diomidis Spinellis <dds@aueb.gr>
Subject:   Re: Filesystem layering
Message-ID:  <200701031607.00199.jhb@freebsd.org>
In-Reply-To: <459BE218.7070605@aueb.gr>
References:  <459BE218.7070605@aueb.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 03 January 2007 12:04, Diomidis Spinellis wrote:
> static int
> umap_bypass(ap)
>      struct vop_generic_args /* {
>          struct vnodeop_desc *a_desc;
>          <other random data follows, presumably>
>      } */ *ap;
> {
> 	/* ... */

In this magic code here this function changes the vnode pointers in
ap.

>      error = VCALL(ap);	/* dds: ap->a_desc == &vop_read_desc */
> }

-- 
John Baldwin



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