]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15f92b95aec7cb1a79e979cc27014d1dafed31e8
tree9b42a0f8dc5cba5ccdbec03f0d24e24ff7c6122b
parentf086bd21605c9841d0a457c1775726959134cd0e
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