[PATCH V10 04/19] block: use bio_for_each_bvec() to map sg

Ming Lei ming.lei at redhat.com
Mon Nov 19 18:51:55 AEDT 2018


On Fri, Nov 16, 2018 at 02:33:14PM +0100, Christoph Hellwig wrote:
> > +	if (!*sg)
> > +		return sglist;
> > +	else {
> 
> No need for an else after an early return.

OK, good catch!

Thanks,
Ming


More information about the Linux-erofs mailing list