tech-kern archive

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

Re: Making spec_node table opaque



In article <79DA22D1-8CC4-4354-ADE3-99820650E500%eis.cs.tu-bs.de@localhost>,
J. Hannken-Illjes <hannken%eis.cs.tu-bs.de@localhost> wrote:
>-=-=-=-=-=-
>
>The attached diff makes the spec_node table implementation private
>to sys/miscfs/specfs/spec_vnops.c.  To retrieve a spec_node, two new
>lookup functions (by device or by mount) are implemented.  Both return
>a referenced vnode, for an opened block device the opened vnode is
>returned so further diagnostic checks "vp == ... sd_bdevvp" will
>not fire.  Otherwise any vnode matching the criteria gets returned.
>
>Comments or objections?

LGTM.

christos



Home | Main Index | Thread Index | Old Index