dm mpath: don't return -EIO from dm_report_EIO
authorChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:28:37 +0000 (17:28 +0200)
committerMike Snitzer <snitzer@redhat.com>
Mon, 15 May 2017 19:09:52 +0000 (15:09 -0400)
commit18a482f5245cc875755090853e84283512b3e6bd
tree9b42a0f8dc5cba5ccdbec03f0d24e24ff7c6122b
parentece0728037b15f4d31198f12b359104bcb5db4c8
dm mpath: don't return -EIO from dm_report_EIO

Instead just turn the macro into a helper for the warning message.
This removes an unnecessary assignment and will allow the next commit to
fix a place where -EIO is the wrong return value.

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