diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-12-14 19:13:31 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 18:24:45 +0300 |
commit | fae9cd252f889f006326e126906e879451040a5f (patch) | |
tree | 59b0745364f53e96b85cf9d3763abbe1aeed965c /fs/btrfs/dev-replace.c | |
parent | 03fbf77a2c963d5b8173edc56d995465fb6fb38c (diff) | |
download | linux-fae9cd252f889f006326e126906e879451040a5f.tar.xz |
btrfs: use a folio array throughout the defrag process
Remove more hidden calls to compound_head() by using an array of folios
instead of pages. Also neaten the error path in defrag_one_range() by
adjusting the length of the array instead of checking for NULL.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions