Fix possible zfs panic on zpool import
OpenSolaris onnv-revision: 10040:38b25aeeaf7a Obtained from: OpenSolaris (Bug ID 6857012) Approved by: pjd, delphij (mentor) MFC after: 3 days
This commit is contained in:
parent
b9b5f9e6aa
commit
9a68899bb4
@ -96,7 +96,6 @@ dsl_dir_open_obj(dsl_pool_t *dp, uint64_t ddobj,
|
||||
#endif
|
||||
if (dd == NULL) {
|
||||
dsl_dir_t *winner;
|
||||
int err;
|
||||
|
||||
dd = kmem_zalloc(sizeof (dsl_dir_t), KM_SLEEP);
|
||||
dd->dd_object = ddobj;
|
||||
|
Loading…
x
Reference in New Issue
Block a user