diff options
author | Jeff Layton <jlayton@redhat.com> | 2007-11-17 01:22:06 +0300 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-11-17 01:22:06 +0300 |
commit | c359cf3c61c6ea9f4f461a8bd22023a15d75d9b5 (patch) | |
tree | 24abf7b5a77af5007ee9bdf30592775df4e66035 /fs/cifs/cifsglob.h | |
parent | 70fe7dc05596a405ee6a83265f675a544e32f7d8 (diff) | |
download | linux-c359cf3c61c6ea9f4f461a8bd22023a15d75d9b5.tar.xz |
[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 { /* 15 character server name + 0x20 16th byte indicating type = srv */ char server_RFC1001_name[SERVER_NAME_LEN_WITH_NULL]; char unicode_server_Name[SERVER_NAME_LEN_WITH_NULL * 2]; + char *hostname; /* hostname portion of UNC string */ struct socket *ssocket; union { struct sockaddr_in sockAddr; |