diff options
author | Dave Hansen <haveblue@us.ibm.com> | 2008-02-15 17:37:27 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-04-19 00:25:31 -0400 |
commit | d57999e1527f0b0c818846dcba5a23015beb4823 (patch) | |
tree | 6cd6f1e773fb19b18531997131b0887f835dcf03 /fs/utimes.c | |
parent | 3925e6fc1f774048404fdd910b0345b06c699eb4 (diff) |
[PATCH] do namei_flags calculation inside open_namei()
My end goal here is to make sure all users of may_open()
return filps. This will ensure that we properly release
mount write counts which were taken for the filp in
may_open().
This patch moves the sys_open flags to namei flags
calculation into fs/namei.c. We'll shortly be moving
the nameidata_to_filp() calls into namei.c, and this
gets the sys_open flags to a place where we can get
at them when we need them.
Acked-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/utimes.c')
0 files changed, 0 insertions, 0 deletions