dm: change ->end_io calling convention
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Jun 2017 07:38:03 +0000 (09:38 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 9 Jun 2017 15:27:32 +0000 (09:27 -0600)
commit1be5690984588953e759af0a4c6ddac182a1806c
tree703e6e07de09bb76f3fd0de3a84afa34ace79183
parent846785e6a5725de4f0788e78e101961566a77d2a
dm: change ->end_io calling convention

Turn the error paramter into a pointer so that target drivers can change
the value, and make sure only DM_ENDIO_* values are returned from the
methods.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/dm-cache-target.c
drivers/md/dm-flakey.c
drivers/md/dm-log-writes.c
drivers/md/dm-mpath.c
drivers/md/dm-raid1.c
drivers/md/dm-snap.c
drivers/md/dm-stripe.c
drivers/md/dm-thin.c
drivers/md/dm.c
include/linux/device-mapper.h