[PATCH AUTOSEL 4.14 02/26] cifs: don't dereference smb_file_target before null check

2018-11-12 Thread Sasha Levin
From: Colin Ian King [ Upstream commit 8c6c9bed8773375b1d54ccca2911ec892c59db5d ] There is a null check on dst_file->private data which suggests it can be potentially null. However, before this check, pointer smb_file_target is derived from dst_file->private and dereferenced in the call to

[PATCH AUTOSEL 4.14 02/26] cifs: don't dereference smb_file_target before null check

2018-11-12 Thread Sasha Levin
From: Colin Ian King [ Upstream commit 8c6c9bed8773375b1d54ccca2911ec892c59db5d ] There is a null check on dst_file->private data which suggests it can be potentially null. However, before this check, pointer smb_file_target is derived from dst_file->private and dereferenced in the call to