summaryrefslogtreecommitdiff
path: root/fs/nfs/pagelist.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-08-09 15:03:11 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-08-19 08:56:04 -0400
commit90cf500e338ab3f3c0f126ba37e36fb6a9058441 (patch)
treec5ec8f6df6a610d83ee63576849038f7aed434a4 /fs/nfs/pagelist.c
parent7e10cc25bfa0dd3602bbcf5cc9c759a90eb675dc (diff)
NFSv4: Fix return values for nfs4_file_open()
Currently, we are translating RPC level errors such as timeouts, as well as interrupts etc into EOPENSTALE, which forces a single replay of the open attempt. What we actually want to do is force the replay only in the cases where the returned error indicates that the file may have changed on the server. So the fix is to spell out the exact set of errors where we want to return EOPENSTALE. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/pagelist.c')
0 files changed, 0 insertions, 0 deletions