tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Make VOP_BWRITE() work with layered fs

With the attached diff VOP_BWRITE() arguments get changed as

-       VOP_BWRITE(struct buf *)
+       VOP_BWRITE(struct vnode *, struct buf *)

and all calls become VOP_BWRITE(bp->b_vp, bp).

With this change layered file systems no longer treat it special as it is
now possible to descend on the vnode argument instead of changing bp->b_vp
and running into trouble when an async VOP_BWRITE() uses the wrong vnode.

This is a first step to make device nodes on null mounts mountable.

Any objections?
Juergen Hannken-Illjes - - TU Braunschweig 

Attachment: vop_bwrite.diff
Description: Binary data

Home | Main Index | Thread Index | Old Index