cifs: on send failure, readjust server sequence number downward
authorJeff Layton <jlayton@redhat.com>
Wed, 3 Apr 2013 14:27:36 +0000 (10:27 -0400)
committerSteve French <smfrench@gmail.com>
Sun, 5 May 2013 03:17:56 +0000 (22:17 -0500)
commitad313cb86dfba27f8f2306da304974ef17c91c56
treeb6fbc7b3f6d7448264c7db49ef82f300c2699d3e
parentce6c44e44e43f0cef12030de0a8f0814914d47dd
cifs: on send failure, readjust server sequence number downward

If sending a call to the server fails for some reason (for instance, the
sending thread caught a signal), then we must readjust the sequence
number downward again or the next send will have it too high.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smb1ops.c
fs/cifs/transport.c