lkml.org 
[lkml]   [2006]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/6] r/o bind mount prepwork: move open_namei()'s vfs_create()
On Wed, Aug 09, 2006 at 09:57:31AM -0700, Dave Hansen wrote:
>
> The code around vfs_create() in open_namei() is getting a
> bit too complex. Right now, there is at least the reference
> count on the dentry, and the i_mutex to worry about. Soon,
> we'll also have mnt_writecount.
>
> So, break the vfs_create() call out of open_namei(), and
> into a helper function. This duplicates the call to
> may_open(), but that isn't such a bad thing since the
> arguments (acc_mode and flag) were being heavily massaged
> anyway.
>
> Signed-off-by: Dave Hansen <haveblue@us.ibm.com>

Acked-by: Christoph Hellwig <hch@lst.de>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-09 19:13    [W:0.896 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site