diff options
author | Tom Caputi <[email protected]> | 2019-01-10 17:36:23 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-01-10 14:36:23 -0800 |
commit | 58769a4ebd462461131f19cccf25c3d19a4dbfb5 (patch) | |
tree | 427986931feacf1af02fb1f7760cae5d26ecacde /module/zfs/dmu_recv.c | |
parent | 8bd2a2866ccc3f606566ce5503b32053948513ab (diff) |
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 <[email protected]>
Signed-off-by: Tom Caputi <[email protected]>
Closes #8249
Diffstat (limited to 'module/zfs/dmu_recv.c')
0 files changed, 0 insertions, 0 deletions