Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7b2e8c7 authored by Steve French's avatar Steve French
Browse files

[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: default avatarSteve French <sfrench@us.ibm.com>
parent 6e659c63
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -498,6 +498,7 @@ int cifs_close(struct inode *inode, struct file *file)
					msleep(timeout);
					timeout *= 4;
				}
				if(atomic_read(&pSMBFile->wrtPending))
					cERROR(1,("close with pending writes"));
				rc = CIFSSMBClose(xid, pTcon,
						  pSMBFile->netfid);