From: Dave Hansen Date: Fri, 15 Feb 2008 22:37:27 +0000 (-0800) Subject: [PATCH] do namei_flags calculation inside open_namei() X-Git-Tag: v2.6.26-rc1~1134^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d57999e1527f0b0c818846dcba5a23015beb4823;p=pandora-kernel.git [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 Signed-off-by: Christoph Hellwig Signed-off-by: Dave Hansen Signed-off-by: Al Viro --- Reading git-diff-tree failed