linux-stable/fs/smb
Paulo Alcantara 8e6a3999e6 cifs: get rid of dup length check in parse_reparse_point()
[ Upstream commit 8a3c4e44c2 ]

smb2_compound_op(SMB2_OP_GET_REPARSE) already checks if ioctl response
has a valid reparse data buffer's length, so there's no need to check
it again in parse_reparse_point().

In order to get rid of duplicate check, validate reparse data buffer's
length also in cifs_query_reparse_point().

Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-25 16:22:44 +02:00
..
client cifs: get rid of dup length check in parse_reparse_point() 2024-05-25 16:22:44 +02:00
common Add definition for new smb3.1.1 command type 2024-05-25 16:22:41 +02:00
server ksmbd: do not grant v2 lease if parent lease key and epoch are not set 2024-05-17 12:02:37 +02:00
Kconfig
Makefile