Signed-off-by: Steve French <sfrench@us.ibm.com>
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;
}