On Fri, Jun 22, 2007 at 01:03:08PM -0700, Dave Hansen wrote: > > Christoph H. says this stands on its own and can go in before the > rest of the r/o bind mount set. > > --- > > 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. > > Also, rename two existing, static-scope init_file() to less > generic names. Looks good. Again this should go in ASAP after 2.6.23 independent of the more complicated bits because it's a nice cleanup. In the end get_empty_filp should go away as an exported symbol. Note that we've grown more instances of the crap you're fixing here, e.g. fs/anon_inode.c - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html