Searched hist:"88 b65ce5" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/gfs2/ |
H A D | aops.c | 88b65ce5 Mon Nov 06 12:58:36 CST 2017 Andreas Gruenbacher <agruenba@redhat.com> gfs2: Minor gfs2_page_add_databufs cleanup
The to parameter of gfs2_page_add_databufs is passed inconsistently: once as from + len, once as from + len - 1. Just pass len instead.
In addition, once we're past the end, we can immediately break out of the loop.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com> 88b65ce5 Mon Nov 06 12:58:36 CST 2017 Andreas Gruenbacher <agruenba@redhat.com> gfs2: Minor gfs2_page_add_databufs cleanup The to parameter of gfs2_page_add_databufs is passed inconsistently: once as from + len, once as from + len - 1. Just pass len instead. In addition, once we're past the end, we can immediately break out of the loop. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
|