]> 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)
commitba280d447d1ae5f224cf9d88398c7016f9bfc879
treee7fb30ed707b8270c3e7d417d300607b35c42f51
parente6655a751e203bd37fe6e714876c77a786c8d047
dm mpath: multipath_clone_and_map must not return -EIO

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