diff options
author | Brian Behlendorf <[email protected]> | 2009-08-03 16:28:48 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-08-03 16:28:48 -0700 |
commit | f2f52087f38cf8777ae17697732b86176238cbb4 (patch) | |
tree | c2ee5b95cfe02394251bfac91919622b0eba05cf /module/zfs | |
parent | cf44f97b962108b4608d4eebcb7e1616f4975dbc (diff) | |
parent | 7a8bfe1597a40514a44e296711b755c288442f70 (diff) |
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/dbuf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c index 65b14f536..0c8b8aaee 100644 --- a/module/zfs/dbuf.c +++ b/module/zfs/dbuf.c @@ -1802,8 +1802,7 @@ dbuf_create_bonus(dnode_t *dn) void dbuf_add_ref(dmu_buf_impl_t *db, void *tag) { - ASSERTV(int64_t holds = refcount_add(&db->db_holds, tag)); - ASSERT(holds > 1); + VERIFY(refcount_add(&db->db_holds, tag) > 1); } #pragma weak dmu_buf_rele = dbuf_rele |