]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: update desired access while requesting for directory lease
authorBharath SM <bharathsm@microsoft.com>
Wed, 16 Aug 2023 19:38:45 +0000 (19:38 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:27:57 +0000 (12:27 +0200)
commit9c8fc05bd4d0796514a09950ad6dd368d5cefa90
treefeb48386804c9c38b020c65758198db5a1a9c43c
parentdb5d5673ab7ec45e0463d23e41465a31d0288846
cifs: update desired access while requesting for directory lease

commit b6d44d42313baa45a81ce9b299aeee2ccf3d0ee1 upstream.

We read and cache directory contents when we get directory
lease, so we should ask for read permission to read contents
of directory.

Signed-off-by: Bharath SM <bharathsm@microsoft.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/smb/client/cached_dir.c