[CIFS] fix typo in previous patch
authorSteve French <sfrench@us.ibm.com>
Thu, 12 Oct 2006 01:23:29 +0000 (01:23 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 12 Oct 2006 01:23:29 +0000 (01:23 +0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/readdir.c

index 80e6ebd440a853b6dc2df1467abd5b6fc7779e6f..acbabc09543fe596f585dd69e6ff8a518d5d56cd 100644 (file)
@@ -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;
 }