From: Al Viro Date: Tue, 7 Apr 2009 15:44:16 +0000 (-0400) Subject: Preparations to caching root in path_walk() X-Git-Tag: v2.6.31-rc1~375^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b4a9b14a793bc69b505ed916051f6f32db13bb8;p=pandora-kernel.git Preparations to caching root in path_walk() Split do_path_lookup(), opencode the call from do_filp_open() do_filp_open() is the only caller of do_path_lookup() that cares about root afterwards (it keeps resolving symlinks on O_CREAT path after it'd done LOOKUP_PARENT walk). So when we start caching fs->root in path_walk(), it'll need a different treatment. Signed-off-by: Al Viro --- Reading git-diff-tree failed