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-06-16 13:47:37 +02:00
2023-08-29 20:21:42 -07:00
2023-08-29 20:21:42 -07:00
2024-08-29 17:33:32 +02:00
2023-08-28 11:39:14 -07:00
2023-08-29 20:21:42 -07:00
2023-08-29 20:21:42 -07:00
2024-09-08 07:54:30 +02:00
2024-07-25 09:50:58 +02:00
2024-08-03 08:54:40 +02:00
2023-08-28 09:31:32 -07:00
2023-07-13 10:28:05 +02:00
2024-08-19 06:04:25 +02:00
2024-01-20 11:51:37 +01:00
2023-08-28 10:17:14 -07:00
2024-06-12 11:11:38 +02:00
2024-06-12 11:11:31 +02:00
2024-03-06 14:48:41 +00:00
2023-08-29 20:21:42 -07:00
2024-08-19 06:04:26 +02:00
2024-08-03 08:54:12 +02:00
2023-08-29 17:45:22 -04:00
2024-08-03 08:54:15 +02:00
2024-08-29 17:33:40 +02:00
2024-08-29 17:33:38 +02:00
2024-04-03 15:28:20 +02:00
2023-08-29 20:21:42 -07:00
2024-08-29 17:33:15 +02:00
2024-08-29 17:33:35 +02:00
2024-08-29 17:33:32 +02:00
2024-08-03 08:54:15 +02:00
2024-08-03 08:53:21 +02:00
2024-08-03 08:54:22 +02:00
2023-08-29 20:21:42 -07:00
2024-02-23 09:25:16 +01:00
2024-07-25 09:50:46 +02:00
2024-04-13 13:07:34 +02:00
2024-08-14 13:58:46 +02:00
2024-07-11 12:49:09 +02:00
2024-08-29 17:33:42 +02:00
2024-08-29 17:33:33 +02:00
2024-08-19 06:04:23 +02:00
2023-08-29 20:21:42 -07:00
2023-09-18 12:03:46 -07:00
2024-08-29 17:33:39 +02:00
2024-08-29 17:33:58 +02:00
2024-08-03 08:54:33 +02:00
2023-08-31 12:07:34 -05:00
2023-10-19 16:19:20 +02:00
2023-08-29 20:21:42 -07:00
2024-08-29 17:33:13 +02:00
2024-07-27 11:34:08 +02:00
2023-08-29 20:21:42 -07:00
2024-06-12 11:11:30 +02:00
2024-07-11 12:49:08 +02:00
2024-09-04 13:28:23 +02:00
2024-08-11 12:47:13 +02:00
2024-04-13 13:07:31 +02:00
2023-08-29 20:21:42 -07:00
2023-08-29 20:21:42 -07:00
2024-08-29 17:33:33 +02:00
2023-07-24 10:30:04 +02:00
2024-08-19 06:04:26 +02:00
2024-08-19 06:04:25 +02:00
2024-09-08 07:54:31 +02:00
2024-08-19 06:04:26 +02:00
2024-04-27 17:11:41 +02:00
2024-04-13 13:07:34 +02:00
2024-08-14 13:58:59 +02:00
2024-04-03 15:28:20 +02:00
2024-08-14 13:58:43 +02:00
2023-08-29 20:21:42 -07:00
2024-05-17 12:02:13 +02:00
2024-06-16 13:47:33 +02:00
2024-08-14 13:59:03 +02:00
2024-02-23 09:25:13 +01:00
2024-04-03 15:28:44 +02:00
2023-08-28 10:17:14 -07:00
2023-08-11 09:04:57 +02:00
2024-08-29 17:33:33 +02:00
2023-06-28 20:35:21 -07:00
2024-08-19 06:04:30 +02:00
2024-08-29 17:33:27 +02:00
2024-08-19 06:04:29 +02:00
2023-06-26 09:50:21 -07:00
2024-01-10 17:16:53 +01:00
2024-07-25 09:50:54 +02:00
2023-06-28 10:28:11 -07:00
2023-08-18 10:12:11 -07:00
2023-07-11 11:41:34 +02:00
2024-06-12 11:11:30 +02:00
2024-08-19 06:04:22 +02:00
2024-03-26 18:19:17 -04:00
2024-08-19 06:04:28 +02:00
2023-08-08 19:36:51 +02:00
2024-08-29 17:33:14 +02:00
2023-10-12 18:53:36 +03:00
2023-08-21 13:46:25 -07:00
2024-06-27 13:49:00 +02:00
2023-08-14 18:48:02 +02:00
2024-08-29 17:33:13 +02:00
2023-08-29 20:21:42 -07:00
2024-01-31 16:18:54 -08:00
2023-08-29 20:21:42 -07:00
2023-08-23 14:17:43 -07:00
2023-08-19 12:12:12 +02:00
2024-01-05 15:19:40 +01:00
2024-07-27 11:34:10 +02:00
2023-08-02 09:13:09 -06:00
2024-01-31 16:18:57 -08:00
2024-02-23 09:25:15 +01:00
2023-07-13 10:28:04 +02:00
2024-07-05 09:34:04 +02:00
2024-04-10 16:35:57 +02:00
2023-07-13 10:28:04 +02:00
2023-08-15 08:32:45 +02:00
2023-08-06 15:08:35 +02:00
2024-03-26 18:19:17 -04:00
2023-08-29 14:25:26 -07:00
2023-07-13 10:28:04 +02:00
2023-12-03 07:33:03 +01:00
2024-08-19 06:04:25 +02:00
2024-07-18 13:21:22 +02:00
2023-08-22 10:57:46 +02:00