summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2pdu.h
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <musamaanjum@gmail.com>2021-04-15 18:24:09 +0300
committerSteve French <stfrench@microsoft.com>2021-04-26 00:28:24 +0300
commitad7567bc65afe0ef0d1b853aa4d54c44d09223dc (patch)
tree351068401d470806f507a0e77b66fe23f18c9712 /fs/cifs/smb2pdu.h
parent83728cbf366e334301091d5b808add468ab46b27 (diff)
downloadlinux-ad7567bc65afe0ef0d1b853aa4d54c44d09223dc.tar.xz
cifs: remove unnecessary copies of tcon->crfid.fid
pfid is being set to tcon->crfid.fid and they are copied in each other multiple times. Remove the memcopy between same pointers - memory locations. Addresses-Coverity: ("Overlapped copy") Fixes: 9e81e8ff74b9 ("cifs: return cached_fid from open_shroot") Signed-off-by: Muhammad Usama Anjum <musamaanjum@gmail.com> Reviewed-by: Aurelien Aptel <aaptel@suse.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2pdu.h')
0 files changed, 0 insertions, 0 deletions