]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifs: Fix access_flags_to_smbopen_mode
authorPali Rohár <pali@kernel.org>
Sun, 17 Nov 2024 10:50:18 +0000 (11:50 +0100)
committerSteve French <stfrench@microsoft.com>
Tue, 1 Apr 2025 06:54:17 +0000 (01:54 -0500)
commit6aa9f1c9cd09c1c39a35da4fe5f43446ec18ce1e
tree09b95d4d3e7fe965f83fec7e4f9276fc43664667
parente94e882a6d69525c07589222cf3a6ff57ad12b5b
cifs: Fix access_flags_to_smbopen_mode

When converting access_flags to SMBOPEN mode, check for all possible access
flags, not only GENERIC_READ and GENERIC_WRITE flags.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifssmb.c