Re: [dm-devel] [PATCH 08/15] dm mpath: merge do_end_io_bio into multipath_end_io_bio

2017-05-25 Thread Christoph Hellwig
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. -- To unsubscribe from this list: send

Re: [dm-devel] [PATCH 08/15] dm mpath: merge do_end_io_bio into multipath_end_io_bio

2017-05-22 Thread Martin Wilck
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 - > - >