projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40384c8
)
fs/smb/client: avoid querying SMB2_OP_QUERY_WSL_EA for SMB3 POSIX
author
Ralph Boehme
<slow@samba.org>
Fri, 15 Nov 2024 12:15:50 +0000
(13:15 +0100)
committer
Steve French
<stfrench@microsoft.com>
Wed, 4 Dec 2024 18:42:38 +0000
(12:42 -0600)
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>
fs/smb/client/smb2inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/smb/client/smb2inode.c
b/fs/smb/client/smb2inode.c
index a188908914fe8f4626f79935d6960c4dbc8b5f74..a55f0044d30bdefe3f2e68cc2618427bcf3f06d4 100644
(file)
--- a/
fs/smb/client/smb2inode.c
+++ b/
fs/smb/client/smb2inode.c
@@
-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.