]> git.baikalelectronics.ru Git - kernel.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)
commit8b878a6a083fd7fa458900ba62bf07f5a0ad6e1c
tree91d1d822e1e9c1e04343486df3860b93b9c57836
parent4aae37aecada69b407f1c213fbc2f780692f0635
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