summaryrefslogtreecommitdiffstats
path: root/fs/hfs
diff options
context:
space:
mode:
authorDave Hansen <haveblue@us.ibm.com>2006-10-01 08:29:02 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 09:39:30 +0200
commitaab520e2f6c80160cabd187a8d0292d1cec8ff68 (patch)
treee066da750f4aba3e5b472a2fafd5d267876420e2 /fs/hfs
parent[PATCH] r/o bind mounts: prepare for write access checks: collapse if() (diff)
downloadlinux-aab520e2f6c80160cabd187a8d0292d1cec8ff68.tar.xz
linux-aab520e2f6c80160cabd187a8d0292d1cec8ff68.zip
[PATCH] r/o bind mount prepwork: move open_namei()'s vfs_create()
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> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/hfs')
0 files changed, 0 insertions, 0 deletions