diff options
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifssmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 8d30a5c4f244..005fb315477c 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c | |||
@@ -495,7 +495,7 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses) | |||
495 | (int)(utc.tv_sec - ts.tv_sec))); | 495 | (int)(utc.tv_sec - ts.tv_sec))); |
496 | val = (int)(utc.tv_sec - ts.tv_sec); | 496 | val = (int)(utc.tv_sec - ts.tv_sec); |
497 | seconds = val < 0 ? -val : val; | 497 | seconds = val < 0 ? -val : val; |
498 | result = (seconds / IN_TZ_ADJ) * MIN_TZ_ADJ; | 498 | result = (seconds / MIN_TZ_ADJ) * MIN_TZ_ADJ; |
499 | remain = seconds % MIN_TZ_ADJ; | 499 | remain = seconds % MIN_TZ_ADJ; |
500 | if(remain >= (MIN_TZ_ADJ / 2)) | 500 | if(remain >= (MIN_TZ_ADJ / 2)) |
501 | result += MIN_TZ_ADJ; | 501 | result += MIN_TZ_ADJ; |