]> granicus.if.org Git - zfs/commit
Fix ASSERT in zil_create() during ztest
authorTom Caputi <tcaputi@datto.com>
Thu, 11 Oct 2018 20:38:27 +0000 (16:38 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 24 Oct 2018 21:36:40 +0000 (14:36 -0700)
commitc04812f964a2a79ec501fb1ba995ef333ff79172
treee2f6b1a3d62dbfa564512eec183ed0bc84f7b564
parent9410257800789cde96abf135663930d0f44661e6
Fix ASSERT in zil_create() during ztest

This patch corrects an ASSERT in zil_create() that will only be
true if the call to zio_alloc_zil() does not fail.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #8010
module/zfs/zil.c