> 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 [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- [patch] khttpd doesn't detach from the files of its pare... Alessandro Rubini
- Re: [patch] khttpd doesn't detach from the files of... John Levon
- Re: [patch] khttpd doesn't detach from the file... Alessandro Rubini
- Re: [patch] khttpd doesn't detach from the ... Alexander Viro
- Re: [patch] khttpd doesn't detach from ... Alessandro Rubini
- Re: [patch] khttpd doesn't detach from ... Jeff Garzik
- Re: [patch] khttpd doesn't detach ... Alexander Viro
- Re: [patch] khttpd doesn't detach from the files of... Alexander Viro
- Re: [patch] khttpd doesn't detach from the file... Alessandro Rubini
- Re: [patch] khttpd doesn't detach from the ... Alexander Viro