cvs commit: src/sys/compat/linprocfs linprocfs.c
src/sys/compat/linsysfs
linsysfs.c src/sys/fs/procfs procfs.c src/sys/fs/pseudofs
pseudofs.c pseudofs.h
Dag-Erling Smorgrav
des at FreeBSD.org
Mon Mar 12 12:16:53 UTC 2007
des 2007-03-12 12:16:52 UTC
FreeBSD src repository
Modified files:
sys/compat/linprocfs linprocfs.c
sys/compat/linsysfs linsysfs.c
sys/fs/procfs procfs.c
sys/fs/pseudofs pseudofs.c pseudofs.h
Log:
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 at cs.rutgers.edu>
Revision Changes Path
1.107 +36 -36 src/sys/compat/linprocfs/linprocfs.c
1.4 +9 -9 src/sys/compat/linsysfs/linsysfs.c
1.16 +15 -15 src/sys/fs/procfs/procfs.c
1.28 +13 -4 src/sys/fs/pseudofs/pseudofs.c
1.32 +16 -3 src/sys/fs/pseudofs/pseudofs.h
More information about the cvs-src
mailing list