commit | 7fe8d1529b604d88bd0e293a7081ad75be1b23bc | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trondmy@gmail.com> | Thu Oct 31 18:40:32 2019 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Nov 12 19:16:06 2019 +0100 |
tree | 1956e2b49f91c313a4a528eb7535af480d686e07 | |
parent | 4a8b8c7f00420482389a72b40c531b2ea0e8559f [diff] |
NFSv4: Don't allow a cached open with a revoked delegation [ Upstream commit be3df3dd4c70ee020587a943a31b98a0fb4b6424 ] If the delegation is marked as being revoked, we must not use it for cached opens. Fixes: 869f9dfa4d6d ("NFSv4: Fix races between nfs_remove_bad_delegation() and delegation return") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Sasha Levin <sashal@kernel.org>