diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-08-09 19:15:07 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-21 08:16:56 +0300 |
commit | 4ac4f4716fba119a16b6a3ebe6bf345b9a32258b (patch) | |
tree | ada943650ce23e221e39b1d585181d9a7d7b342f /fs/nfs/delegation.h | |
parent | d7565d51af18bafd74a7e97519bb50bba0eb97aa (diff) | |
download | linux-4ac4f4716fba119a16b6a3ebe6bf345b9a32258b.tar.xz |
NFSv4: Fix return value in nfs_finish_open()
[ Upstream commit 9821421a291b548ef4369c6998745baa36ddecd5 ]
If the file turns out to be of the wrong type after opening, we want
to revalidate the path and retry, so return EOPENSTALE rather than
ESTALE.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/nfs/delegation.h')
0 files changed, 0 insertions, 0 deletions