commit | 79245beca28695e118f01597161422eedd9e179c | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Fri May 06 19:36:59 2022 +0200 |
committer | Andreas Gruenbacher <agruenba@redhat.com> | Tue May 17 13:08:56 2022 +0200 |
tree | cb9dbf6ab09ea9b8e68795215d48ff3de4245d95 | |
parent | d928e8f3af38abc8d2d56d9329a8280f7af5f10e [diff] |
gfs2: punch_hole cleanups The rounding done in punch_hole() and its helper functions is difficult to understand. Clean things up by switching from a "metapointer list" that points to the first block after the hole (end_list) to one that points at the last block of the hole (last_list). This simplifies the rounding logic and a number of other things. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>