]> git.proxmox.com Git - mirror_zfs.git/commit
Fix zap_update() ASSERT from ztest
authorTom Caputi <tcaputi@datto.com>
Fri, 14 Dec 2018 18:04:11 +0000 (13:04 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 14 Dec 2018 18:04:11 +0000 (10:04 -0800)
commit2a6078450db6437863f5ce32cfbb06f82e1beae7
tree18ce7b11864dfbadcb55f8633d61386c42e8fd31
parent0dd6b6bfcb2c14249a6d6b874e11ff137777d349
Fix zap_update() ASSERT from ztest

This patch simply removes an invalid assert from the zap_update()
function. The ASSERT is invalid because it does not hold the zap
lock from the time it fetches the old value to the time it confirms
that it is what it should be.

Reviewed by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #8209
module/zfs/zap_micro.c