From: Al Viro Date: Wed, 7 Apr 2010 23:06:07 +0000 (+0100) Subject: Have nfs ->d_revalidate() report errors properly X-Git-Tag: v2.6.34-rc4~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04287f975e68038051eb9c79896866d36610b8e0;p=pandora-kernel.git Have nfs ->d_revalidate() report errors properly If nfs atomic open implementation ends up doing open request from ->d_revalidate() codepath and gets an error from server, return that error to caller explicitly and don't bother with lookup_instantiate_filp() at all. ->d_revalidate() can return an error itself just fine... See http://bugzilla.kernel.org/show_bug.cgi?id=15674 http://marc.info/?l=linux-kernel&m=126988782722711&w=2 for original report. Reported-by: Daniel J Blueman Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed