aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2007-11-16 22:22:06 +0000
committerSteve French <sfrench@us.ibm.com>2007-11-16 22:22:06 +0000
commitc359cf3c61c6ea9f4f461a8bd22023a15d75d9b5 (patch)
tree24abf7b5a77af5007ee9bdf30592775df4e66035 /fs/cifs/cifsglob.h
parent70fe7dc05596a405ee6a83265f675a544e32f7d8 (diff)
downloadkernel_samsung_aries-c359cf3c61c6ea9f4f461a8bd22023a15d75d9b5.zip
kernel_samsung_aries-c359cf3c61c6ea9f4f461a8bd22023a15d75d9b5.tar.gz
kernel_samsung_aries-c359cf3c61c6ea9f4f461a8bd22023a15d75d9b5.tar.bz2
[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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 4ff8179..3525082 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;