Tom Caputi 58769a4ebd Don't allow dnode allocation if dn_holds != 0
This patch simply fixes a small bug where dnode_hold_impl() could
attempt to allocate a dnode that was in the process of being freed,
but which still had active references. This patch simply adds the
required check.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #8249
2019-01-10 14:36:23 -08:00
..
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2018-10-03 15:30:55 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00