Filesystem layering

John Baldwin jhb at freebsd.org
Wed Jan 3 21:23:37 UTC 2007


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


More information about the freebsd-hackers mailing list