Skip to content

Commit 49c7ce8

Browse files
committed
fixup! zfs_rename: support RENAME_* flags
1 parent 84c4640 commit 49c7ce8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

module/zfs/zfs_log.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -612,9 +612,7 @@ zfs_log_rename_exchange(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
612612
/* tmp -> src */
613613
zfs_log_rename(zilog, tx, txtype, tdzp, tmpname, sdzp, sname, szp);
614614

615-
#ifdef __FreeBSD__
616-
VOP_UNLOCK1(tmpzp);
617-
#else
615+
#ifndef __FreeBSD__
618616
zfs_dirent_unlock(tmpdl);
619617
#endif
620618
kmem_free(tmpname, MAXPATHLEN);

0 commit comments

Comments
 (0)