Re: [PATCH] cifs: remove unnecessary copies of tcon->crfid.fid

2021-04-15 Thread Muhammad Usama Anjum
On Wed, 2021-04-14 at 14:00 +0200, Aurélien Aptel wrote: > Muhammad Usama Anjum writes: > > pfid is being set to tcon->crfid.fid and they are copied in each other > > multiple times. Remove the memcopy between same pointers. > > > > Addresses-Coverity: ("Overlapped copy") > > Fixes: 9e81e8ff74b9

Re: [PATCH] cifs: remove unnecessary copies of tcon->crfid.fid

2021-04-14 Thread Aurélien Aptel
Muhammad Usama Anjum writes: > pfid is being set to tcon->crfid.fid and they are copied in each other > multiple times. Remove the memcopy between same pointers. > > Addresses-Coverity: ("Overlapped copy") > Fixes: 9e81e8ff74b9 ("cifs: return cached_fid from open_shroot") > Signed-off-by: Muhammad