CIFS: Add match_port check during looking for an existing connection (try #4)
authorPavel Shilovsky <piastryyy@gmail.com>
Mon, 13 Dec 2010 19:18:07 +0000 (22:18 +0300)
committerSteve French <sfrench@us.ibm.com>
Thu, 6 Jan 2011 19:07:53 +0000 (19:07 +0000)
If we have a share mounted by non-standard port and try to mount another share
on the same host with standard port, we connect to the first share again -
that's wrong. This patch fixes this bug.

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

Simple merge