Otherwise you can't easily know which lock it is in the corresponding
MDSCacheObject.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
c62333453ab57540d087398a1ae6e9d525db783f)
f->close_section();
f->dump_string("state", get_state_name(get_state()));
+ f->dump_string("type", get_lock_type_name(get_type()));
f->dump_bool("is_leased", is_leased());
f->dump_int("num_rdlocks", get_num_rdlocks());
f->dump_int("num_wrlocks", get_num_wrlocks());