Merge commit 'refs/top-bases/linux-zfs-branch' into linux-zfs-branch
This commit is contained in:
commit
7926366f66
|
@ -1046,7 +1046,7 @@ dmu_objset_do_userquota_callbacks(objset_impl_t *os, dmu_tx_t *tx)
|
||||||
|
|
||||||
ASSERT(list_head(list) == NULL || dmu_objset_userused_enabled(os));
|
ASSERT(list_head(list) == NULL || dmu_objset_userused_enabled(os));
|
||||||
|
|
||||||
while (dn = list_head(list)) {
|
while ((dn = list_head(list))) {
|
||||||
dmu_object_type_t bonustype;
|
dmu_object_type_t bonustype;
|
||||||
|
|
||||||
ASSERT(!DMU_OBJECT_IS_SPECIAL(dn->dn_object));
|
ASSERT(!DMU_OBJECT_IS_SPECIAL(dn->dn_object));
|
||||||
|
|
|
@ -510,7 +510,7 @@ dsl_props_set(const char *dsname, nvlist_t *nvl)
|
||||||
nvpair_t *elem = NULL;
|
nvpair_t *elem = NULL;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
if (err = dsl_dataset_hold(dsname, FTAG, &ds))
|
if ((err = dsl_dataset_hold(dsname, FTAG, &ds)))
|
||||||
return (err);
|
return (err);
|
||||||
/*
|
/*
|
||||||
* Do these checks before the syncfunc, since it can't fail.
|
* Do these checks before the syncfunc, since it can't fail.
|
||||||
|
|
Loading…
Reference in New Issue