CIFS: Fix missing lease break
authorPavel Shilovsky <pshilovsky@samba.org>
Thu, 5 Sep 2013 11:00:07 +0000 (15:00 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:21:38 +0000 (17:21 -0700)
commitab14cb0cae996a6b1e5bcaa801135e3c37391efe
tree24bbaa8b451f9a35c3fe66b0c3faad926b0b56e6
parent189b939d6c6e3b4c430c7d679649e9007e55f500
CIFS: Fix missing lease break

commit 933d4b36576c951d0371bbfed05ec0135d516a6e upstream.

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.

Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/smb2misc.c