Files
linux-stable-mirror/fs
Paulo AlcantaraandGreg Kroah-Hartman 77e5d743a8 smb: client: fix FSCTL_GET_REPARSE_POINT against NetApp
[ Upstream commit ddecea00f8 ]

NetApp server requires the file to be open with FILE_READ_EA access in
order to support FSCTL_GET_REPARSE_POINT, otherwise it will return
STATUS_INVALID_DEVICE_REQUEST.  It doesn't make any sense because
there's no requirement for FILE_READ_EA bit to be set nor
STATUS_INVALID_DEVICE_REQUEST being used for something other than
"unsupported reparse points" in MS-FSA.

To fix it and improve compatibility, set FILE_READ_EA & SYNCHRONIZE
bits to match what Windows client currently does.

Tested-by: Sebastian Steinbeisser <Sebastian.Steinbeisser@lrz.de>
Acked-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-08 07:54:31 +02:00
..
2024-08-19 06:04:25 +02:00
2024-08-29 17:33:35 +02:00
2024-08-03 08:54:22 +02:00
2024-08-29 17:33:33 +02:00
2024-08-19 06:04:25 +02:00
2024-03-26 18:19:17 -04:00
2024-07-05 09:34:04 +02:00
2024-08-19 06:04:25 +02:00