Skip to content

Commit 3a1234b

Browse files
committed
wip
1 parent bc841d0 commit 3a1234b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/os/linux/zfs/zpl_inode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ zpl_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)
783783

784784
crhold(cr);
785785
zpl_inode_set_ctime_to_ts(ZTOI(zp), current_time(ZTOI(zp)));
786-
786+
zhold(zp);
787787
cookie = spl_fstrans_mark();
788788
error = -zfs_link(ITOZ(dir), zp, dname(dentry), cr, 0);
789789
if (error) {

0 commit comments

Comments
 (0)