commit | 5f004cf2aa8494708fd8d78e78142b7b2748e765 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Sep 14 14:03:14 2006 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Sep 22 23:25:02 2006 -0400 |
tree | c4f10f43217737e08d68167e1866ef5b305ac571 | |
parent | 2dec51466a08ac1c67da41bfd0518d43d983a2eb [diff] |
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>