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

From
Ming Lei <hidden>
Date
2018-11-19 07:51:55
Also in
dm-devel, linux-bcache, linux-block, linux-btrfs, linux-ext4, linux-fsdevel, linux-mm, linux-xfs, lkml
Reply to
Christoph Hellwig, 2018-11-16
On Fri, Nov 16, 2018 at 02:33:14PM +0100, Christoph Hellwig wrote:
quoted
+	if (!*sg)
+		return sglist;
+	else {
No need for an else after an early return.
OK, good catch!

Thanks,
Ming
Thread (102 messages) 102 messages, 8 authors, last reply 2018-11-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help