summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifssmb.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-10-02 07:55:25 +0200
committerSteve French <sfrench@us.ibm.com>2006-10-02 07:55:25 +0200
commit947a50679570ef7a66e3e3107e95943a1cb14d08 (patch)
tree678b4b02e0b29ad4441099256497081bd2f6c889 /fs/cifs/cifssmb.c
parent[CIFS] Allow for 15 minute TZs (e.g. Nepal) and be more explicit about (diff)
downloadlinux-947a50679570ef7a66e3e3107e95943a1cb14d08.tar.xz
linux-947a50679570ef7a66e3e3107e95943a1cb14d08.zip
[CIFS] Fix typo
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-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 8d30a5c4f244..005fb315477c 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -495,7 +495,7 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses)
(int)(utc.tv_sec - ts.tv_sec)));
val = (int)(utc.tv_sec - ts.tv_sec);
seconds = val < 0 ? -val : val;
- result = (seconds / IN_TZ_ADJ) * MIN_TZ_ADJ;
+ result = (seconds / MIN_TZ_ADJ) * MIN_TZ_ADJ;
remain = seconds % MIN_TZ_ADJ;
if(remain >= (MIN_TZ_ADJ / 2))
result += MIN_TZ_ADJ;