aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/inode.c')
-rw-r--r--fs/gfs2/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index 260316954ad7..f7c8d31ce41a 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -357,7 +357,7 @@ int gfs2_change_nlink(struct gfs2_inode *ip, int diff)
357 else 357 else
358 drop_nlink(&ip->i_inode); 358 drop_nlink(&ip->i_inode);
359 359
360 ip->i_inode.i_ctime.tv_sec = get_seconds(); 360 ip->i_inode.i_ctime = CURRENT_TIME_SEC;
361 361
362 gfs2_trans_add_bh(ip->i_gl, dibh, 1); 362 gfs2_trans_add_bh(ip->i_gl, dibh, 1);
363 gfs2_dinode_out(ip, dibh->b_data); 363 gfs2_dinode_out(ip, dibh->b_data);