Skip to content
Commit ad7567bc authored by Muhammad Usama Anjum's avatar Muhammad Usama Anjum Committed by Steve French
Browse files

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: 9e81e8ff ("cifs: return cached_fid from open_shroot")
Signed-off-by: default avatarMuhammad Usama Anjum <musamaanjum@gmail.com>
Reviewed-by: default avatarAurelien Aptel <aaptel@suse.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 83728cbf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment