aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifspdu.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-10-02 01:53:29 -0400
committerSteve French <sfrench@us.ibm.com>2006-10-02 01:53:29 -0400
commitb815f1e559e7cbdf3e561cf0c7cffc4a4a57a013 (patch)
tree0ff77669363276a97bd4e3cc1b3dcea928c97545 /fs/cifs/cifspdu.h
parent203cf2fc13a5db1fb202c294948fa9cb43bf69fa (diff)
[CIFS] Allow for 15 minute TZs (e.g. Nepal) and be more explicit about
not setting time on close Signed-off-by: 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.h4
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
412typedef struct lanman_neg_rsp { 414typedef 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
678typedef struct smb_com_close_req { 680typedef 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