Files
kernel-spacemit-k1/fs
Paulo Alcantara 77e5d743a8 smb: client: fix FSCTL_GET_REPARSE_POINT against NetApp
[ Upstream commit ddecea00f87f0c46e9c8339a7c89fb2ff891521a ]

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
2023-08-31 12:07:34 -05:00
2024-08-29 17:33:33 +02:00
2024-08-19 06:04:25 +02:00
2024-02-23 09:25:13 +01:00
2023-06-28 20:35:21 -07:00
2024-03-26 18:19:17 -04:00
2023-08-08 19:36:51 +02:00
2023-08-21 13:46:25 -07:00
2023-08-14 18:48:02 +02:00
2023-08-19 12:12:12 +02:00
2023-08-02 09:13:09 -06:00
2023-07-13 10:28:04 +02:00
2024-07-05 09:34:04 +02:00
2023-08-15 08:32:45 +02:00
2024-08-19 06:04:25 +02:00