[CIFS] Fix oops in find_writable_file
authorSteve French <sfrench@us.ibm.com>
Fri, 7 Sep 2007 22:23:48 +0000 (22:23 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 7 Sep 2007 22:23:48 +0000 (22:23 +0000)
commit15745320f374aa6cbfe4836b76469159c0f49640
tree13da65b37dce287fb5be8977e1830f4fde7a0a7e
parent77159b4df894f9e5e31f709fb0e5e52f6c1b1048
[CIFS] Fix oops in find_writable_file

There was a case in which find_writable_file was not waiting long enough
under heavy stress when writepages was racing with close of the file
handle being used by the write.

Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/file.c