Re: [PATCH] vfs: Don't leak a path when get_empty_filp in dentry_open

2014-01-16 Thread Eric W. Biederman
Al Viro writes: > On Thu, Jan 16, 2014 at 03:45:38PM -0800, Eric W. Biederman wrote: >> >> Normally in dentry_open the passed in path is placed on the new filp >> removing the caller from needing to worry about it. In the rare case >> that we can not allocate a filp the path is not consumed. N

Re: [PATCH] vfs: Don't leak a path when get_empty_filp in dentry_open

2014-01-16 Thread Al Viro
On Thu, Jan 16, 2014 at 03:45:38PM -0800, Eric W. Biederman wrote: > > Normally in dentry_open the passed in path is placed on the new filp > removing the caller from needing to worry about it. In the rare case > that we can not allocate a filp the path is not consumed. None of the > callers of