diff options
| author | Dave Hansen <[email protected]> | 2006-09-30 23:29:02 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-10-01 00:39:30 -0700 |
| commit | aab520e2f6c80160cabd187a8d0292d1cec8ff68 (patch) | |
| tree | e066da750f4aba3e5b472a2fafd5d267876420e2 /include/linux/debugobjects.h | |
| parent | 6902d925d568cd5bfda8a1a328bf08d26d1bab46 (diff) | |
[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 <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions