]> git.baikalelectronics.ru Git - kernel.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)
commit9b5079ca8d6e4a13ef35036c488d058e2f0053c1
tree773960af3c94ee0bcda3d852aac7e510445c8e37
parentc191bdc91aaf1bf2bad08b17910e2f02c99ab349
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