Split out td error handling code

Signed-off-by: Jens Axboe <axboe@kernel.dk>
5 files changed