freebsd-dev/sys/fs/pseudofs
Dag-Erling Smørgrav 771709eb78 Add a pn_destroy field to pfs_node. This field points to a destructor
function which is called from pfs_destroy() before the node is reclaimed.

Modify pfs_create_{dir,file,link}() to accept a pointer to a destructor
function in addition to the usual attr / fill / vis pointers.

This breaks both the programming and binary interfaces between pseudofs
and its consumers.  It is believed that there are no pseudofs consumers
outside the source tree, so that the impact of this change is minimal.

Submitted by:	Aniruddha Bohra <bohra@cs.rutgers.edu>
2007-03-12 12:16:52 +00:00
..
pseudofs_fileno.c Use subr_unit 2005-03-19 08:22:36 +00:00
pseudofs_internal.h Use subr_unit 2005-03-19 08:22:36 +00:00
pseudofs_vncache.c Use the vnode interlock to close a race where pfs_vncache_alloc() could 2007-01-02 17:27:52 +00:00
pseudofs_vnops.c Correctly calculate a buffer length. It was off by one so a read() returned 2006-06-27 20:21:38 +00:00
pseudofs.c Add a pn_destroy field to pfs_node. This field points to a destructor 2007-03-12 12:16:52 +00:00
pseudofs.h Add a pn_destroy field to pfs_node. This field points to a destructor 2007-03-12 12:16:52 +00:00