SMB3: Close deferred file handles in case of handle lease break

[ Upstream commit d906be3fa5 ]

We should not cache deferred file handles if we dont have
handle lease on a file. And we should immediately close all
deferred handles in case of handle lease break.

Fixes: 9e31678fb4 ("SMB3: fix lease break timeout when multiple deferred close handles for the same file.")
Signed-off-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Bharath SM 2023-04-26 14:05:16 +00:00 • committed by Greg Kroah-Hartman
commit 32dce45c8e
2 changed files with 17 additions and 1 deletions