[PATCH v2] dm ioctl: fix hang in early create error condition