From: Al Viro Date: Fri, 11 Mar 2011 17:08:24 +0000 (-0500) Subject: open-style analog of vfs_path_lookup() X-Git-Tag: v2.6.39-rc1~514^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73d049a40fc6269189c4e2ba6792cb5dd054883c;p=pandora-kernel.git open-style analog of vfs_path_lookup() new function: file_open_root(dentry, mnt, name, flags) opens the file vfs_path_lookup would arrive to. Note that name can be empty; in that case the usual requirement that dentry should be a directory is lifted. open-coded equivalents switched to it, may_open() got down exactly one caller and became static. Signed-off-by: Al Viro --- Reading git-diff-tree failed