[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>
Šī revīzija ir iekļauta:
Steve French
2006-10-02 05:53:29 +00:00
vecāks 203cf2fc13
revīzija b815f1e559
2 mainīti faili ar 25 papildinājumiem un 14 dzēšanām

Parādīt failu

@@ -409,6 +409,8 @@ typedef struct negotiate_req {
/* Dialect index is 13 for LANMAN */
#define MIN_TZ_ADJ (15 * 60) /* minimum grid for timezones in seconds */
typedef struct lanman_neg_rsp {
struct smb_hdr hdr; /* wct = 13 */
__le16 DialectIndex;
@@ -678,7 +680,7 @@ typedef union smb_com_tree_disconnect { /* as an altetnative can use flag on
typedef struct smb_com_close_req {
struct smb_hdr hdr; /* wct = 3 */
__u16 FileID;
__u32 LastWriteTime; /* should be zero */
__u32 LastWriteTime; /* should be zero or -1 */
__u16 ByteCount; /* 0 */
} __attribute__((packed)) CLOSE_REQ;