direct-io: Use clean_bdev_aliases() instead of handmade iteration
authorJan Kara <jack@suse.cz>
Fri, 4 Nov 2016 17:08:12 +0000 (18:08 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 4 Nov 2016 20:34:47 +0000 (14:34 -0600)
commitf734c89cc96e9b6f903865cd2656d9d8a7e160e7
tree9c233c6e9a202f9566f3b901e6289ac7c34abf15
parent29f3ad7d8380364c86556eedf4eedd3b3d4921dc
direct-io: Use clean_bdev_aliases() instead of handmade iteration

Use new provided function instead of an iteration through all allocated
blocks.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/direct-io.c