From: Trond Myklebust Date: Thu, 14 Sep 2006 18:03:14 +0000 (-0400) Subject: NFS: Make read() return an ESTALE if the file has been deleted X-Git-Tag: v2.6.19-rc1~1271^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f004cf2aa8494708fd8d78e78142b7b2748e765;p=pandora-kernel.git NFS: Make read() return an ESTALE if the file has been deleted Currently, a read() request will return EIO even if the file has been deleted on the server, simply because that is what the VM will return if the call to readpage() fails to update the page. Ensure that readpage() marks the inode as stale if it receives an ESTALE. Then return that error to userland. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed