Making spec_node table opaque

2013-02-08 Thread J. Hannken-Illjes
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

Re: Making spec_node table opaque

2013-02-08 Thread Mindaugas Rasiukevicius
J. Hannken-Illjes hann...@eis.cs.tu-bs.de 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