Skip to content

Commit

Permalink
fixup! zfs_rename: support RENAME_* flags
Browse files Browse the repository at this point in the history
  • Loading branch information
cyphar committed Jun 10, 2021
1 parent 84c4640 commit 49c7ce8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions module/zfs/zfs_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,9 +612,7 @@ zfs_log_rename_exchange(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
/* tmp -> src */
zfs_log_rename(zilog, tx, txtype, tdzp, tmpname, sdzp, sname, szp);

#ifdef __FreeBSD__
VOP_UNLOCK1(tmpzp);
#else
#ifndef __FreeBSD__
zfs_dirent_unlock(tmpdl);
#endif
kmem_free(tmpname, MAXPATHLEN);
Expand Down

0 comments on commit 49c7ce8

Please sign in to comment.