mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +03:00
Illumos #4047
4047 panic from dbuf_free_range() from dmu_free_object() while
doing zfs receive
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Dan McDonald <danmcd@nexenta.com>
References:
https://www.illumos.org/issues/4047
illumos/illumos-gate@713d6c2088
Ported-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #1775
Porting notes:
1. The exported symbol dmu_free_object() was renamed to
dmu_free_long_object() in Illumos.
This commit is contained in:
committed by
Brian Behlendorf
parent
46ba1e59d3
commit
b663a23d36
@@ -1262,7 +1262,7 @@ restore_freeobjects(struct restorearg *ra, objset_t *os,
|
||||
if (dmu_object_info(os, obj, NULL) != 0)
|
||||
continue;
|
||||
|
||||
err = dmu_free_object(os, obj);
|
||||
err = dmu_free_long_object(os, obj);
|
||||
if (err != 0)
|
||||
return (err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user