commit | 88b65ce5fdd9ac75df1534cf6503db0ccb230ecb | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Mon Nov 06 19:58:36 2017 +0100 |
committer | Bob Peterson <rpeterso@redhat.com> | Thu Jan 18 14:18:55 2018 -0700 |
tree | fb88eb5dc785a5e4067cc957c376bc0ffb44f6fb | |
parent | 235628c5c76040b0ec206ea9ab9e017771e0d78e [diff] |
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>