commit | 4ac4f4716fba119a16b6a3ebe6bf345b9a32258b | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Fri Aug 09 12:15:07 2019 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Sep 21 07:16:56 2019 +0200 |
tree | ada943650ce23e221e39b1d585181d9a7d7b342f | |
parent | d7565d51af18bafd74a7e97519bb50bba0eb97aa [diff] |
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>