From: Al Viro Date: Wed, 9 Mar 2011 06:34:45 +0000 (-0500) Subject: do_last: kill a rudiment of old ->d_revalidate() workaround X-Git-Tag: v2.6.39-rc1~514^2~28 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f374ed5fa8afed8590deaae5dc147422e0e1a6d9;p=pandora-kernel.git do_last: kill a rudiment of old ->d_revalidate() workaround There used to be time when ->d_revalidate() couldn't return an error. So intents code had lookup_instantiate_filp() stash ERR_PTR(error) in nd->intent.open.filp and had it checked after lookup_hash(), to catch the otherwise silent failures. That had been introduced by commit 4af4c52f34606bdaab6930a845550c6fb02078a4. These days ->d_revalidate() can and does propagate errors back to callers explicitly, so this check isn't needed anymore. Signed-off-by: Al Viro --- Reading git-diff-tree failed