> put_files_struct() is a destructor, so it won't help here. The following
> patch may be of use [...] It's "create an empty
> files_struct and replace the task->files with it" - thing we can't do via
> clone() and may want to (khttpd does).
Sorry, what's wrong with just closing the files? It's much
easier.
Instead of my silly 255-to-0 loop, close_files() can be used (by copying
to khttpd or by moving to a header.
/alessandro
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:13 EST