smb: client: do not query reparse points twice on symlinks
authorPaulo Alcantara <pc@manguebit.com>
Thu, 17 Aug 2023 15:34:07 +0000 (12:34 -0300)
committerSteve French <stfrench@microsoft.com>
Sun, 20 Aug 2023 21:05:50 +0000 (16:05 -0500)
commit9a49e221a64111535f65e9c8804db24d11eaff8b
treeb4c28e1ea18d25f1276f5fb0d7be7a1a423e75fb
parent5f71ebc412944908c9780cca5acc9170385b6e77
smb: client: do not query reparse points twice on symlinks

Save a roundtrip by getting the reparse point tag and buffer at once
in ->query_reparse_point() and then pass the buffer down to
->query_symlink().

Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsglob.h
fs/smb/client/inode.c
fs/smb/client/smb1ops.c
fs/smb/client/smb2ops.c