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
Alfred Perlstein
alfred at freebsd.org
Mon Mar 12 23:05:40 UTC 2007
* Dag-Erling Smorgrav <des at FreeBSD.org> [070312 05:16] wrote:
> 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.
I think Autofs (in p4) may use this. The maintainer is active, he'll adapt.
--
- Alfred Perlstein, RED Incorporated Consulting.
- coder / sysadmin / FreeBSD Hacker / All that jazz -
More information about the cvs-src
mailing list