summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve French2006-10-12 03:23:29 +0200
committerSteve French2006-10-12 03:23:29 +0200
commitddae957da48cc381c1472a8909905e1818e4afdd (patch)
tree381d630c73807ed49a879e5975918cbfa48743ff
parent[CIFS] Fix old DOS time conversion to handle timezone (diff)
downloadkernel-qcow2-linux-ddae957da48cc381c1472a8909905e1818e4afdd.tar.gz
kernel-qcow2-linux-ddae957da48cc381c1472a8909905e1818e4afdd.tar.xz
kernel-qcow2-linux-ddae957da48cc381c1472a8909905e1818e4afdd.zip
[CIFS] fix typo in previous patch
Signed-off-by: Steve French <sfrench@us.ibm.com>
-rw-r--r--fs/cifs/readdir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c
index 80e6ebd440a8..acbabc09543f 100644
--- a/fs/cifs/readdir.c
+++ b/fs/cifs/readdir.c
@@ -109,9 +109,9 @@ static int construct_dentry(struct qstr *qstring, struct file *file,
static void AdjustForTZ(struct cifsTconInfo * tcon, struct inode * inode)
{
if((tcon) && (tcon->ses) && (tcon->ses->server)) {
- inode->i_ctime.tv_sec += tcon->ses->server.timeAdj;
- inode->i_mtime.tv_sec += tcon->ses->server.timeAdj;
- inode->i_atime.tv_sec += tcon->ses->server.timeAdj;
+ inode->i_ctime.tv_sec += tcon->ses->server->timeAdj;
+ inode->i_mtime.tv_sec += tcon->ses->server->timeAdj;
+ inode->i_atime.tv_sec += tcon->ses->server->timeAdj;
}
return;
}