[CIFS] Fix minor problem with previous patch
The patch NFS stress test generates flood of "close with pending write was missing an if Signed-off-by: Steve French <sfrench@us.ibm.com>hifive-unleashed-5.1
parent
6e659c6399
commit
f7b2e8c76b
|
@ -498,7 +498,8 @@ int cifs_close(struct inode *inode, struct file *file)
|
||||||
msleep(timeout);
|
msleep(timeout);
|
||||||
timeout *= 4;
|
timeout *= 4;
|
||||||
}
|
}
|
||||||
cERROR(1,("close with pending writes"));
|
if(atomic_read(&pSMBFile->wrtPending))
|
||||||
|
cERROR(1,("close with pending writes"));
|
||||||
rc = CIFSSMBClose(xid, pTcon,
|
rc = CIFSSMBClose(xid, pTcon,
|
||||||
pSMBFile->netfid);
|
pSMBFile->netfid);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue