[CIFS] Fix compiler warning with previous patch
authorSteve French <sfrench@us.ibm.com>
Mon, 2 Oct 2006 05:59:18 +0000 (05:59 +0000)
committerSteve French <sfrench@us.ibm.com>
Mon, 2 Oct 2006 05:59:18 +0000 (05:59 +0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifssmb.c

index 005fb315477c96aedde559d4f7c5bab867bdd336..79a01d35a783d39f266ec963daf7b1270948d54f 100644 (file)
@@ -477,7 +477,7 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses)
                        server->capabilities = CAP_MPX_MODE;
                }
                tmp = (__s16)le16_to_cpu(rsp->ServerTimeZone);
-               if (tmp == 0xffff) {
+               if (tmp == -1) {
                        /* OS/2 often does not set timezone therefore
                         * we must use server time to calc time zone.
                         * Could deviate slightly from the right zone.