Hello, this patch is incomplete and still does not fix the main problem that SMB2_OP_QUERY_WSL_EA command does not work with any Windows SMB server except the last Windows Server version. On non-recent Windows versions it is not possible to set both EAs and reparse point at the same time and Windows SMB server is returning error when trying to query EAs on file with reparse point. Which basically means that it is not possible to query data about the special files from Windows SMB server (except 2022 version). More details are in the email which I wrote in September: https://lore.kernel.org/linux-cifs/20240928140939.vjndryndfngzq7x4@pali/ I proposed similar but extended patch which skips asking for EAs based on reparse point: https://lore.kernel.org/linux-cifs/20240913200204.10660-1-pali@xxxxxxxxxx/ But it was somehow rejected as the proper solution should be different: https://lore.kernel.org/linux-cifs/20240917210707.4lt4obty7wlmm42j@pali/ And that is why I'm surprised that the batch below was accepted... Are you planning to implement a proper solution? If not that I would propose to reconsider my original idea, which will workaround also Windows SMB server, and not only Samba server. As I wrote in previous emails, I think that this is a serious issue as it disallow to use any reparse points against non-recent Windows Server systems. On Wednesday 27 November 2024 20:23:29 Ralph Boehme wrote: > From a57c32da874f285af266b7fbbaefb7940991d049 Mon Sep 17 00:00:00 2001 > From: Ralph Boehme <slow@xxxxxxxxx> > Date: Fri, 15 Nov 2024 13:15:50 +0100 > Subject: [PATCH 1/3] fs/smb/client: avoid querying SMB2_OP_QUERY_WSL_EA for > SMB3 POSIX > > --- > fs/smb/client/smb2inode.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/fs/smb/client/smb2inode.c b/fs/smb/client/smb2inode.c > index e49d0c25eb03..ab069d5285c5 100644 > --- a/fs/smb/client/smb2inode.c > +++ b/fs/smb/client/smb2inode.c > @@ -941,7 +941,8 @@ int smb2_query_path_info(const unsigned int xid, > if (rc || !data->reparse_point) > goto out; > > - cmds[num_cmds++] = SMB2_OP_QUERY_WSL_EA; > + if (!tcon->posix_extensions) > + cmds[num_cmds++] = SMB2_OP_QUERY_WSL_EA; > /* > * Skip SMB2_OP_GET_REPARSE if symlink already parsed in create > * response. > -- > 2.47.0