summaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-10-02 05:55:25 +0000
committerSteve French <sfrench@us.ibm.com>2006-10-02 05:55:25 +0000
commit947a50679570ef7a66e3e3107e95943a1cb14d08 (patch)
tree678b4b02e0b29ad4441099256497081bd2f6c889 /fs/cifs
parentb815f1e559e7cbdf3e561cf0c7cffc4a4a57a013 (diff)
downloadop-kernel-dev-947a50679570ef7a66e3e3107e95943a1cb14d08.zip
op-kernel-dev-947a50679570ef7a66e3e3107e95943a1cb14d08.tar.gz
[CIFS] Fix typo
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-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 8d30a5c..005fb31 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;
OpenPOWER on IntegriCloud