diff options
author | 2023-12-14 16:13:31 +0000 | |
---|---|---|
committer | 2024-03-04 16:24:45 +0100 | |
commit | fae9cd252f889f006326e126906e879451040a5f (patch) | |
tree | 59b0745364f53e96b85cf9d3763abbe1aeed965c /fs/btrfs/async-thread.c | |
parent | btrfs: convert defrag_prepare_one_page() to use a folio (diff) | |
download | linux-rng-fae9cd252f889f006326e126906e879451040a5f.tar.xz linux-rng-fae9cd252f889f006326e126906e879451040a5f.zip |
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/async-thread.c')
0 files changed, 0 insertions, 0 deletions