]> bbs.cooldavid.org Git - net-next-2.6.git/commit
cifs: move address comparison into separate function
authorJeff Layton <jlayton@redhat.com>
Wed, 7 Jul 2010 00:43:02 +0000 (20:43 -0400)
committerSteve French <sfrench@us.ibm.com>
Mon, 2 Aug 2010 12:40:34 +0000 (12:40 +0000)
commit4515148ef72bfda4ce3c8754149711d9972867ce
tree773960af3c94ee0bcda3d852aac7e510445c8e37
parent50d971602a6c4bf1abe1f3873686f431d7539dfe
cifs: move address comparison into separate function

Move the address comparator out of cifs_find_tcp_session and into a
separate function for cleanliness. Also change the argument to
that function to a "struct sockaddr" pointer. Passing pointers to
sockaddr_storage is a little odd since that struct is generally for
declaring static storage.

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