Date: Mon, 12 Mar 2007 12:16:52 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200703121216.l2CCGqT4080524@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703121216.l2CCGqT4080524>