aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/cifssmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index 005fb315477c..79a01d35a783 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -477,7 +477,7 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses)
477 server->capabilities = CAP_MPX_MODE; 477 server->capabilities = CAP_MPX_MODE;
478 } 478 }
479 tmp = (__s16)le16_to_cpu(rsp->ServerTimeZone); 479 tmp = (__s16)le16_to_cpu(rsp->ServerTimeZone);
480 if (tmp == 0xffff) { 480 if (tmp == -1) {
481 /* OS/2 often does not set timezone therefore 481 /* OS/2 often does not set timezone therefore
482 * we must use server time to calc time zone. 482 * we must use server time to calc time zone.
483 * Could deviate slightly from the right zone. 483 * Could deviate slightly from the right zone.