diff options
author | Paulo Alcantara <pc@manguebit.com> | 2024-08-01 23:12:39 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-08-02 17:56:02 +0200 |
commit | ddecea00f87f0c46e9c8339a7c89fb2ff891521a (patch) | |
tree | caf8d2c19ac133a2bb3352b20a743635bef5a263 /COPYING | |
parent | smb3: add dynamic tracepoints for shutdown ioctl (diff) | |
download | linux-ddecea00f87f0c46e9c8339a7c89fb2ff891521a.tar.xz linux-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 <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 'COPYING')
0 files changed, 0 insertions, 0 deletions