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.