Commit 83cb4fb
smb3: request handle caching when caching directories
commit 9ed9d83 upstream.
This client was only requesting READ caching, not READ and HANDLE caching
in the LeaseState on the open requests we send for directories. To
delay closing a handle (e.g. for caching directory contents) we should
be requesting HANDLE as well as READ (as we already do for deferred
close of files). See MS-SMB2 3.3.1.4 e.g.
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent edf5b29 commit 83cb4fb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4016 | 4016 | | |
4017 | 4017 | | |
4018 | 4018 | | |
4019 | | - | |
| 4019 | + | |
4020 | 4020 | | |
4021 | 4021 | | |
4022 | 4022 | | |
| |||
0 commit comments