]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dm mpath: multipath_clone_and_map must not return -EIO
authorChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:28:38 +0000 (17:28 +0200)
committerMike Snitzer <snitzer@redhat.com>
Mon, 15 May 2017 19:09:53 +0000 (15:09 -0400)
commitf98e0eb68008aff9824d1c4dad7276c8bab83ca5
treee7fb30ed707b8270c3e7d417d300607b35c42f51
parent18a482f5245cc875755090853e84283512b3e6bd
dm mpath: multipath_clone_and_map must not return -EIO

Since 412445ac ("dm: introduce a new DM_MAPIO_KILL return value"), the
clone_and_map_rq methods must not return errno values, so fix it up
to properly return DM_MAPIO_KILL, instead of the -EIO value that snuck
in due to a conflict between two patches.

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