CIFS: Simplify connection structure search calls
commit37bb04e5a091a5330faef0cc09930326672b7061
authorPavel Shilovsky <piastry@etersoft.ru>
Thu, 5 May 2011 09:55:11 +0000 (5 09:55 +0000)
committerSteve French <sfrench@us.ibm.com>
Mon, 23 May 2011 19:05:09 +0000 (23 19:05 +0000)
treecc7f143162ad2fb8cb22caf427ea7972d05dced6
parentc02324a6ae6bd3e83533c59525111ffe03b7e791
CIFS: Simplify connection structure search calls

Use separate functions for comparison between existing structure
and what we are requesting for to make server, session and tcon
search code easier to use on next superblock match call.

Reviewed-by: Jeff Layton <jlayton@samba.org>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c