aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux/zfs/zpl_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/os/linux/zfs/zpl_inode.c')
-rw-r--r--module/os/linux/zfs/zpl_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/os/linux/zfs/zpl_inode.c b/module/os/linux/zfs/zpl_inode.c
index 5f5ad186a..ef50f8687 100644
--- a/module/os/linux/zfs/zpl_inode.c
+++ b/module/os/linux/zfs/zpl_inode.c
@@ -774,7 +774,7 @@ zpl_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)
return (-EMLINK);
crhold(cr);
- ip->i_ctime = current_time(ip);
+ zpl_inode_set_ctime_to_ts(ip, current_time(ip));
/* Must have an existing ref, so igrab() cannot return NULL */
VERIFY3P(igrab(ip), !=, NULL);