aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,
109static void AdjustForTZ(struct cifsTconInfo * tcon, struct inode * inode) 109static void AdjustForTZ(struct cifsTconInfo * tcon, struct inode * inode)
110{ 110{
111 if((tcon) && (tcon->ses) && (tcon->ses->server)) { 111 if((tcon) && (tcon->ses) && (tcon->ses->server)) {
112 inode->i_ctime.tv_sec += tcon->ses->server.timeAdj; 112 inode->i_ctime.tv_sec += tcon->ses->server->timeAdj;
113 inode->i_mtime.tv_sec += tcon->ses->server.timeAdj; 113 inode->i_mtime.tv_sec += tcon->ses->server->timeAdj;
114 inode->i_atime.tv_sec += tcon->ses->server.timeAdj; 114 inode->i_atime.tv_sec += tcon->ses->server->timeAdj;
115 } 115 }
116 return; 116 return;
117} 117}