summaryrefslogtreecommitdiff
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-09-14 18:03:14 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-09-23 03:25:02 (GMT)
commit5f004cf2aa8494708fd8d78e78142b7b2748e765 (patch)
treec4f10f43217737e08d68167e1866ef5b305ac571 /fs/nfs/inode.c
parent2dec51466a08ac1c67da41bfd0518d43d983a2eb (diff)
downloadlinux-fsl-qoriq-5f004cf2aa8494708fd8d78e78142b7b2748e765.tar.xz
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 <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/inode.c')
0 files changed, 0 insertions, 0 deletions