diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-11-26 11:09:55 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-12-05 14:27:30 -0500 |
commit | b979aaa1777259330435c47f900833dabe9189e8 (patch) | |
tree | 45db63a100144fd74e5997ab329f855bed520ed1 /fs/cifs/cifsproto.h | |
parent | ccb5c001b3035ca470fe21424e439530ba838510 (diff) |
cifs: get rid of smb_vol->UNCip and smb_vol->port
Passing this around as a string is contorted and painful. Instead, just
convert these to a sockaddr as soon as possible, since that's how we're
going to work with it later anyway.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 7494358ba533..15a8cb66a07b 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -110,9 +110,7 @@ extern unsigned int smbCalcSize(void *buf); | |||
110 | extern int decode_negTokenInit(unsigned char *security_blob, int length, | 110 | extern int decode_negTokenInit(unsigned char *security_blob, int length, |
111 | struct TCP_Server_Info *server); | 111 | struct TCP_Server_Info *server); |
112 | extern int cifs_convert_address(struct sockaddr *dst, const char *src, int len); | 112 | extern int cifs_convert_address(struct sockaddr *dst, const char *src, int len); |
113 | extern int cifs_set_port(struct sockaddr *addr, const unsigned short int port); | 113 | extern void cifs_set_port(struct sockaddr *addr, const unsigned short int port); |
114 | extern int cifs_fill_sockaddr(struct sockaddr *dst, const char *src, int len, | ||
115 | const unsigned short int port); | ||
116 | extern int map_smb_to_linux_error(char *buf, bool logErr); | 114 | extern int map_smb_to_linux_error(char *buf, bool logErr); |
117 | extern void header_assemble(struct smb_hdr *, char /* command */ , | 115 | extern void header_assemble(struct smb_hdr *, char /* command */ , |
118 | const struct cifs_tcon *, int /* length of | 116 | const struct cifs_tcon *, int /* length of |