CIFS: Reopen the file if reconnect durable handle failed
authorPavel Shilovsky <pshilovsky@samba.org>
Thu, 11 Jul 2013 06:58:30 +0000 (10:58 +0400)
committerSteve French <smfrench@gmail.com>
Thu, 11 Jul 2013 23:05:08 +0000 (18:05 -0500)
commitb33fcf1c9d359374ef6e8e7ec1e0b6f7a8717e16
tree223595753ad1bf21d34c20528096f6f75a29c7ed
parent1c46943f84f7532a9503810d44b0772581c0325c
CIFS: Reopen the file if reconnect durable handle failed

This is a follow-on patch for 8/8 patch from the durable handles
series. It fixes the problem when durable file handle timeout
expired on the server and reopen returns -ENOENT for such files.
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/file.c