Created
October 21, 2018 10:14
-
-
Save lundman/22e11111a363ee146b564d0394b2c849 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/module/zfs/dsl_deadlist.c b/module/zfs/dsl_deadlist.c | |
index a2e2a1f..9a82a18 100644 | |
--- a/module/zfs/dsl_deadlist.c | |
+++ b/module/zfs/dsl_deadlist.c | |
@@ -105,6 +105,11 @@ dsl_deadlist_open(dsl_deadlist_t *dl, objset_t *os, uint64_t object) | |
mutex_init(&dl->dl_lock, NULL, MUTEX_DEFAULT, NULL); | |
dl->dl_os = os; | |
dl->dl_object = object; | |
+ dl->dl_dbuf = NULL; | |
+ dl->dl_oldfmt = B_TRUE; | |
+ VERIFY3U(0, ==, bpobj_open(&dl->dl_bpobj, os, object)); | |
+ return; | |
+ | |
VERIFY3U(0, ==, dmu_bonus_hold(os, object, dl, &dl->dl_dbuf)); | |
dmu_object_info_from_db(dl->dl_dbuf, &doi); | |
if (doi.doi_type == DMU_OT_BPOBJ) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment