aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index faba4d69fe91..dd03e680f8f8 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -529,8 +529,7 @@ static loff_t cifs_llseek(struct file *file, loff_t offset, int origin)
529 /* some applications poll for the file length in this strange 529 /* some applications poll for the file length in this strange
530 way so we must seek to end on non-oplocked files by 530 way so we must seek to end on non-oplocked files by
531 setting the revalidate time to zero */ 531 setting the revalidate time to zero */
532 if(file->f_path.dentry->d_inode) 532 CIFS_I(file->f_path.dentry->d_inode)->time = 0;
533 CIFS_I(file->f_path.dentry->d_inode)->time = 0;
534 533
535 retval = cifs_revalidate(file->f_path.dentry); 534 retval = cifs_revalidate(file->f_path.dentry);
536 if (retval < 0) 535 if (retval < 0)