]> git.proxmox.com Git - mirror_zfs.git/commit
Clean up by-dnode code in dmu_tx.c
authorMatthew Ahrens <mahrens@delphix.com>
Fri, 24 Feb 2017 21:34:26 +0000 (13:34 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 24 Feb 2017 21:34:26 +0000 (13:34 -0800)
commit66eead53c9d2480f2a464ef170920953431ad200
tree14f8e0ab26d9c89503e36d74a49a906a89e0a9bf
parentf7e76821c525a7764a01f4a0e16aa9e2b77e3170
Clean up by-dnode code in dmu_tx.c

https://github.com/zfsonlinux/zfs/commit/0eef1bde31d67091d3deed23fe2394f5a8bf2276
introduced some changes which we slightly improved the style of when
porting to illumos.

There is also one minor error-handling fix, in zap_add() the "zap" may
become NULL in case of an error re-opening the ZAP.

Originally suggested at: https://github.com/openzfs/openzfs/pull/276

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Signed-off-by: Matthew Ahrens <mahrens@delphix.com>
Closes #5805
include/sys/dmu_tx.h
module/zfs/dmu_object.c
module/zfs/dmu_tx.c
module/zfs/zap_micro.c