Skip to content
Commit 5f004cf2 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 2dec5146
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment