aboutsummaryrefslogtreecommitdiffstats
path: root/fs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/inode.c')
-rw-r--r--fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/inode.c b/fs/inode.c
index 14084b72b259..67880e604399 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1655,7 +1655,7 @@ EXPORT_SYMBOL(file_remove_suid);
1655 1655
1656int file_update_time(struct file *file) 1656int file_update_time(struct file *file)
1657{ 1657{
1658 struct inode *inode = file->f_path.dentry->d_inode; 1658 struct inode *inode = file_inode(file);
1659 struct timespec now; 1659 struct timespec now;
1660 int sync_it = 0; 1660 int sync_it = 0;
1661 int ret; 1661 int ret;