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

2007-02-09 Thread Andrew Morton
On Fri, 09 Feb 2007 14:53:29 -0800 Dave Hansen <[EMAIL PROTECTED]> wrote: > +/* > + * Note: This is a crappy interface. It is here to make > + * merging with the existing users of get_empty_filp() > + * who have complex failure logic easier. All users > + * of this should be moving to

[PATCH 01/22] filesystem helpers for custom 'struct file's

2007-02-09 Thread Dave Hansen
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. Signed-off-by: Dave Hansen <[EMAIL PROTECTED]>

[PATCH 01/22] filesystem helpers for custom 'struct file's

2007-02-09 Thread Dave Hansen
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. Signed-off-by: Dave Hansen [EMAIL PROTECTED] ---

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

2007-02-09 Thread Andrew Morton
On Fri, 09 Feb 2007 14:53:29 -0800 Dave Hansen [EMAIL PROTECTED] wrote: +/* + * Note: This is a crappy interface. It is here to make + * merging with the existing users of get_empty_filp() + * who have complex failure logic easier. All users + * of this should be moving to alloc_file(). +