Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem
This commit is contained in:
commit
91229e6ba6
|
@ -1814,8 +1814,7 @@ dbuf_create_bonus(dnode_t *dn)
|
||||||
void
|
void
|
||||||
dbuf_add_ref(dmu_buf_impl_t *db, void *tag)
|
dbuf_add_ref(dmu_buf_impl_t *db, void *tag)
|
||||||
{
|
{
|
||||||
ASSERTV(int64_t holds = refcount_add(&db->db_holds, tag));
|
VERIFY(refcount_add(&db->db_holds, tag) > 1);
|
||||||
ASSERT(holds > 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma weak dmu_buf_rele = dbuf_rele
|
#pragma weak dmu_buf_rele = dbuf_rele
|
||||||
|
|
Loading…
Reference in New Issue