cifs: move handling of signed connections into separate function
authorJeff Layton <jlayton@redhat.com>
Sun, 26 May 2013 11:00:58 +0000 (07:00 -0400)
committerSteve French <smfrench@gmail.com>
Mon, 24 Jun 2013 06:56:41 +0000 (01:56 -0500)
commit9ddec561313b9c73d6f58a1910d37ea9d965d101
tree1519e804b17f195e53ee191a8b6496c01c8668bf
parent2190eca1d07956cf81a9ed974ecd98a427e54817
cifs: move handling of signed connections into separate function

Move the sanity checks for signed connections into a separate function.
SMB2's was a cut-and-paste job from CIFS code, so we can make them use
the same function.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/smb2pdu.c