Skip to content

Commit

Permalink
5696 ::refcount -r does not display info about removal of holds
Browse files Browse the repository at this point in the history
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: George Wilson <[email protected]>
Reviewed by: Paul Dagnelie <[email protected]>
Reviewed by: Basil Crow <[email protected]>
Reviewed by: Bayard Bell <[email protected]>
Approved by: Dan McDonald <[email protected]>
  • Loading branch information
Prakash Surya authored and Christopher Siden committed Mar 24, 2015
1 parent e2c8add commit 421ff02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/cmd/mdb/common/modules/zfs/zfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2612,7 +2612,7 @@ refcount(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
off = mdb_ctf_offsetof_by_name("refcount_t", "rc_removed");
if (off == -1)
return (DCMD_ERR);
mdb_pwalk("list", reference_cb, (void*)B_FALSE, addr + off);
mdb_pwalk("list", reference_cb, (void*)B_TRUE, addr + off);
}

return (DCMD_OK);
Expand Down

0 comments on commit 421ff02

Please sign in to comment.