mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 02:36:02 +00:00
fs/smb/client: avoid querying SMB2_OP_QUERY_WSL_EA for SMB3 POSIX
Avoid extra roundtrip Cc: stable@vger.kernel.org Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.com> Signed-off-by: Ralph Boehme <slow@samba.org> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
40384c840e
commit
ca4b2c4607
@ -943,7 +943,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.
|
||||
|
Loading…
Reference in New Issue
Block a user