]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dm rq: change ->rq_end_io calling conventions
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Apr 2017 07:40:37 +0000 (09:40 +0200)
committerMike Snitzer <snitzer@redhat.com>
Mon, 1 May 2017 22:19:03 +0000 (18:19 -0400)
commit7ed8578a96ad98231d8bf6388f776e034673e18a
tree91d1d822e1e9c1e04343486df3860b93b9c57836
parentb79f10eefd4bc450a595b93c75e3a9d159ac3885
dm rq: change ->rq_end_io calling conventions

Instead of returning either a DM_ENDIO_* constant or an error code, add
a new DM_ENDIO_DONE value that means keep errno as is.  This allows us
to easily keep the existing error code in case where we can't push back,
and it also preparares for the new block level status codes with strict
type checking.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c
drivers/md/dm-rq.c
include/linux/device-mapper.h