Re: [PATCH] cifs: Fix getting reparse points from server without WSL support
From: Steve French
Date: Tue Sep 17 2024 - 17:15:09 EST
On Tue, Sep 17, 2024 at 4:04 PM Paulo Alcantara <pc@xxxxxxxxxxxxx> wrote:
>
> Pali Rohár <pali@xxxxxxxxxx> writes:
>
> > Paulo, please look at this patch as it is related to WSL attributes
> > which you introduced in the mentioned commit. I think that the proper
> > fix should be to change SMB2_OP_QUERY_WSL_EA code to not trigger that
> > -EOPNOTSUPP error which is delivered to userspace. I just checked that
> > this my patch works fine for Native NTFS symlinks and NFS-style reparse
> > point special files.
>
> Thanks for the patch. The problem is that the client is considering
> that the entire compound request failed when the server doesn't support
> EA. The client should still parse the rest of the response that
> contains the getinfo and get reparse info data.
Yes. Agreed.
And on the
--
Thanks,
Steve