diff options
author | Jeff Layton <jlayton@redhat.com> | 2007-11-16 17:22:06 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-11-16 17:22:06 -0500 |
commit | c359cf3c61c6ea9f4f461a8bd22023a15d75d9b5 (patch) | |
tree | 24abf7b5a77af5007ee9bdf30592775df4e66035 /fs/cifs/cifsglob.h | |
parent | 70fe7dc05596a405ee6a83265f675a544e32f7d8 (diff) |
[CIFS] add hostname field to TCP_Server_Info struct
...and populate it with the hostname portion of the UNC string.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 4ff8179df7ec..3525082f5e58 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -139,6 +139,7 @@ struct TCP_Server_Info { | |||
139 | /* 15 character server name + 0x20 16th byte indicating type = srv */ | 139 | /* 15 character server name + 0x20 16th byte indicating type = srv */ |
140 | char server_RFC1001_name[SERVER_NAME_LEN_WITH_NULL]; | 140 | char server_RFC1001_name[SERVER_NAME_LEN_WITH_NULL]; |
141 | char unicode_server_Name[SERVER_NAME_LEN_WITH_NULL * 2]; | 141 | char unicode_server_Name[SERVER_NAME_LEN_WITH_NULL * 2]; |
142 | char *hostname; /* hostname portion of UNC string */ | ||
142 | struct socket *ssocket; | 143 | struct socket *ssocket; |
143 | union { | 144 | union { |
144 | struct sockaddr_in sockAddr; | 145 | struct sockaddr_in sockAddr; |