]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf26ada6c2362a703f6e8107cb734f251c8269282
tree703e6e07de09bb76f3fd0de3a84afa34ace79183
parent049876edeff7aae8c2f74178eb5489694c4dfed0
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