[CIFS] list entry can not return null
Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
@ -128,8 +128,7 @@ static void mark_open_files_invalid(struct cifsTconInfo *pTcon)
|
||||
write_lock(&GlobalSMBSeslock);
|
||||
list_for_each_safe(tmp, tmp1, &pTcon->openFileList) {
|
||||
open_file = list_entry(tmp, struct cifsFileInfo, tlist);
|
||||
if (open_file)
|
||||
open_file->invalidHandle = true;
|
||||
open_file->invalidHandle = true;
|
||||
}
|
||||
write_unlock(&GlobalSMBSeslock);
|
||||
/* BB Add call to invalidate_inodes(sb) for all superblocks mounted
|
||||
|
Reference in New Issue
Block a user