Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
snajpa committed Oct 30, 2024
1 parent 9b2de48 commit a491855
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions module/os/linux/zfs/zpl_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ zpl_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode)
error = zpl_init_acl(ip, dir);
if (error == 0) {
VERIFY0(insert_inode_locked(ip));
d_mark_tmpfile(file, ip);
d_instantiate(file->f_path.dentry, ip);
inc_nlink(ip);
d_tmpfile(file, ip);
unlock_new_inode(ip);
}
error = finish_open_simple(file, error);
Expand All @@ -332,8 +332,8 @@ zpl_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode)
error = zpl_init_acl(ip, dir);
if (error == 0) {
VERIFY0(insert_inode_locked(ip));
d_mark_tmpfile(dentry, ip);
d_instantiate(dentry, ip);
inc_nlink(ip);
d_tmpfile(dentry, ip);
unlock_new_inode(ip);
}
#endif
Expand Down

0 comments on commit a491855

Please sign in to comment.