zfsonlinux/zfs — pull request #1331 by behlendorf (2013-03-01 22:53:27+00:00)
Title: Add zio_ddt_free() error handling

The assumption here is that ddt_phys_select() must always find
a match. However, if that fails due to a damaged DDT or some
other reason the code will NULL dereference in ddt_phys_decref().
This needs to be handled more gracefully.

Signed-off-by: Brian Behlendorf
Issue #1308