aboutsummaryrefslogtreecommitdiff
path: root/fs/afs
diff options
context:
space:
mode:
authorAndreas Gruenbacher2017-11-06 19:58:36 +0100
committerBob Peterson2018-01-18 14:18:55 -0700
commit88b65ce5fdd9ac75df1534cf6503db0ccb230ecb (patch)
treefb88eb5dc785a5e4067cc957c376bc0ffb44f6fb /fs/afs
parent235628c5c76040b0ec206ea9ab9e017771e0d78e (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>
Diffstat (limited to 'fs/afs')
0 files changed, 0 insertions, 0 deletions