On Mon, May 22, 2017 at 08:51:20PM +0200, Martin Wilck wrote:
> >
> > - if (!error)
> > - return 0; /* I/O complete */
> > + BUG_ON(!mpio);
>
> You dereferenced mpio already above.
Indeed. I removed the BUG_ON for the next version.
--
dm-devel mailing list
On Thu, 2017-05-18 at 15:18 +0200, Christoph Hellwig wrote:
> This simplifies the code and especially the error passing a bit and
> will help with the next patch.
>
> Signed-off-by: Christoph Hellwig
> ---
> drivers/md/dm-mpath.c | 42 -
> -
>
This simplifies the code and especially the error passing a bit and
will help with the next patch.
Signed-off-by: Christoph Hellwig
---
drivers/md/dm-mpath.c | 42 --
1 file changed, 16 insertions(+), 26 deletions(-)
diff --git