diff options
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r-- | fs/cifs/cifspdu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h index 50505422dbb4..6df9dadba647 100644 --- a/fs/cifs/cifspdu.h +++ b/fs/cifs/cifspdu.h | |||
@@ -409,6 +409,8 @@ typedef struct negotiate_req { | |||
409 | 409 | ||
410 | /* Dialect index is 13 for LANMAN */ | 410 | /* Dialect index is 13 for LANMAN */ |
411 | 411 | ||
412 | #define MIN_TZ_ADJ (15 * 60) /* minimum grid for timezones in seconds */ | ||
413 | |||
412 | typedef struct lanman_neg_rsp { | 414 | typedef struct lanman_neg_rsp { |
413 | struct smb_hdr hdr; /* wct = 13 */ | 415 | struct smb_hdr hdr; /* wct = 13 */ |
414 | __le16 DialectIndex; | 416 | __le16 DialectIndex; |
@@ -678,7 +680,7 @@ typedef union smb_com_tree_disconnect { /* as an altetnative can use flag on | |||
678 | typedef struct smb_com_close_req { | 680 | typedef struct smb_com_close_req { |
679 | struct smb_hdr hdr; /* wct = 3 */ | 681 | struct smb_hdr hdr; /* wct = 3 */ |
680 | __u16 FileID; | 682 | __u16 FileID; |
681 | __u32 LastWriteTime; /* should be zero */ | 683 | __u32 LastWriteTime; /* should be zero or -1 */ |
682 | __u16 ByteCount; /* 0 */ | 684 | __u16 ByteCount; /* 0 */ |
683 | } __attribute__((packed)) CLOSE_REQ; | 685 | } __attribute__((packed)) CLOSE_REQ; |
684 | 686 | ||