]> git.baikalelectronics.ru Git - kernel.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)
commit7fbe9409c1bf6a5dbc4428a84a477e78e3a7cc45
treee7fb30ed707b8270c3e7d417d300607b35c42f51
parent15f92b95aec7cb1a79e979cc27014d1dafed31e8
dm mpath: multipath_clone_and_map must not return -EIO

Since a129c91b ("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