commit | c119b87d596cdd99ac20095ae2ae90b525418605 | [log] [tgz] |
---|---|---|
author | Steve French <sfrench@us.ibm.com> | Fri Nov 18 12:27:27 2005 -0800 |
committer | Steve French <sfrench@us.ibm.com> | Fri Nov 18 12:27:27 2005 -0800 |
tree | 3a5967800f0c0fd0a3cee88217d90144c3a3b12f | |
parent | 3020a1f58c564e3060ec908c0c4f1b74a12e4280 [diff] [blame] |
[CIFS] Missing part of previous patch Signed-off-by: Steve French <sfrench@us.ibm.com>
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index da4f5e1..14a1c72 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c
@@ -489,8 +489,10 @@ 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);