[Devel] Re: [PATCH 01/25] filesystem helpers for custom 'struct file's

Christoph Hellwig hch at infradead.org
Tue Dec 12 02:30:40 PST 2006


On Mon, Dec 11, 2006 at 02:30:02PM -0800, Dave Hansen wrote:
> 
> 
> Some filesystems forego the vfs and may_open() and create their
> own 'struct file's.
> 
> This patch creates a couple of helper functions which can be
> used by these filesystems, and will provide a unified place
> which the r/o bind mount code may patch.

Can you get rid of init_file by reordering the code in the socket
and shmem code a little bit?  I'd prefer to completly get rid
of the get_empty_filp export long-term.

Also why do you export init_file and alloc_file?  There don't seem
to be any modular users.

_______________________________________________
Containers mailing list
Containers at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers




More information about the Devel mailing list