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 <mahrens@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Paul Dagnelie <paul.dagnelie@delphix.com>
Reviewed by: Basil Crow <basil.crow@delphix.com>
Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
  • Loading branch information
prakashsurya 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
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.