io_u: move trim error notification out-of-line
authorJens Axboe <axboe@kernel.dk>
Wed, 24 Oct 2018 00:05:41 +0000 (18:05 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Oct 2018 11:00:53 +0000 (05:00 -0600)
commitd7e92306bde2117702ed96b7c5647d9485869047
treea79115774b03d3f5c2fe9a2bf29f6335e5036f53
parent425d3e0ee60f195df202fcd389d76a6671e76b05
io_u: move trim error notification out-of-line

Also kill dead code, we never touch BLOCK_STATE_WRITTEN as
it was guarded by a check for ddir == DDIR_TRIM.

The latter should probably be double checked...

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_u.c