diff options
| author | Paulo Alcantara <[email protected]> | 2024-08-01 21:12:39 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2024-08-02 15:56:02 +0000 |
| commit | ddecea00f87f0c46e9c8339a7c89fb2ff891521a (patch) | |
| tree | caf8d2c19ac133a2bb3352b20a743635bef5a263 /lib/crypto/mpi/mpi-inline.h | |
| parent | smb3: add dynamic tracepoints for shutdown ioctl (diff) | |
| download | kernel-ddecea00f87f0c46e9c8339a7c89fb2ff891521a.tar.gz kernel-ddecea00f87f0c46e9c8339a7c89fb2ff891521a.zip | |
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 <[email protected]>
Acked-by: Tom Talpey <[email protected]>
Signed-off-by: Paulo Alcantara (Red Hat) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
