summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifspdu.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-09-30 03:07:38 +0200
committerSteve French <sfrench@us.ibm.com>2006-09-30 03:07:38 +0200
commit175ec9e11cf18f8373b32f7a33e75a4cf7ce25e3 (patch)
treed261c6ce707654685fefc1759044718a23c1add1 /fs/cifs/cifspdu.h
parent[CIFS] Handle legacy servers which return undefined time zone (diff)
downloadlinux-175ec9e11cf18f8373b32f7a33e75a4cf7ce25e3.tar.xz
linux-175ec9e11cf18f8373b32f7a33e75a4cf7ce25e3.zip
[CIFS] Rename server time zone field
Server time zone is not really a time zone, rather a time adjustement in seconds. CC: Guenter Kukkukk <linux@kukkukk.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r--fs/cifs/cifspdu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h
index 81df2bf8e75a..e5dd8708d636 100644
--- a/fs/cifs/cifspdu.h
+++ b/fs/cifs/cifspdu.h
@@ -417,7 +417,10 @@ typedef struct lanman_neg_rsp {
__le16 MaxNumberVcs;
__le16 RawMode;
__le32 SessionKey;
- __le32 ServerTime;
+ struct {
+ __le16 Time;
+ __le16 Date;
+ } __attribute__((packed)) SrvTime;
__le16 ServerTimeZone;
__le16 EncryptionKeyLength;
__le16 Reserved;