From: Miklos Szeredi Date: Mon, 26 Mar 2012 10:54:21 +0000 (+0200) Subject: vfs: move MAY_EXEC check from __lookup_hash() X-Git-Tag: v3.4-rc1~2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cda309de253f338b04d15b4478e45fc3a0fcc7a3;p=pandora-kernel.git vfs: move MAY_EXEC check from __lookup_hash() The only caller of __lookup_hash() that needs the exec permission check on parent is lookup_one_len(). All lookup_hash() callers already checked permission in LOOKUP_PARENT walk. Signed-off-by: Miklos Szeredi Signed-off-by: Al Viro --- Reading git-diff-tree failed