CIFS: Fix missing lease break
authorPavel Shilovsky <pshilovsky@samba.org>
Thu, 5 Sep 2013 11:00:07 +0000 (15:00 +0400)
committerSteve French <smfrench@gmail.com>
Sun, 8 Sep 2013 19:41:43 +0000 (14:41 -0500)
commit933d4b36576c951d0371bbfed05ec0135d516a6e
tree2b4ce96ea00ee15b4e61768a5b27bda33baa939d
parent1a05096de82f3cd672c76389f63964952678506f
CIFS: Fix missing lease break

If a server sends a lease break to a connection that doesn't have
opens with a lease key specified in the server response, we can't
find an open file to send an ack. Fix this by walking through
all connections we have.

Cc: <stable@vger.kernel.org>
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/smb2misc.c