diff options
author | Paulo Alcantara <pc@manguebit.com> | 2024-08-01 18:12:39 -0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-08-02 10:56:02 -0500 |
commit | ddecea00f87f0c46e9c8339a7c89fb2ff891521a (patch) | |
tree | caf8d2c19ac133a2bb3352b20a743635bef5a263 /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c | |
parent | 69ca1f57555f74142a4c241703c307cb31b54667 (diff) |
smb: client: fix FSCTL_GET_REPARSE_POINT against NetApp
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>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions