[CIFS] Missing part of previous patch

Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
Steve French
2005-11-18 12:27:27 -08:00
parent 3020a1f58c
commit c119b87d59
2 changed files with 3 additions and 0 deletions

View File

@ -489,8 +489,10 @@ int cifs_close(struct inode *inode, struct file *file)
the struct would be in each open file,
but this should give enough time to
clear the socket */
write_unlock(&file->f_owner.lock);
cERROR(1,("close with pending writes"));
msleep(timeout);
write_lock(&file->f_owner.lock);
timeout *= 4;
}
write_unlock(&file->f_owner.lock);