summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2025-01-21 08:40:51 +0300
committerDavid Sterba <dsterba@suse.com>2025-02-07 22:51:18 +0300
commit01af106a076352182b2916b143fc50272600bd81 (patch)
treeb6e1339f97eccfd8007f6aaea72d62a3e15a2e88 /scripts/extract-fwblobs
parentfdef89ce6fada462aef9cb90a140c93c8c209f0f (diff)
downloadlinux-01af106a076352182b2916b143fc50272600bd81.tar.xz
btrfs: fix two misuses of folio_shift()
It is meaningless to shift a byte count by folio_shift(). The folio index is in units of PAGE_SIZE, not folio_size(). We can use folio_contains() to make this work for arbitrary-order folios, so remove the assertion that the folios are of order 0. Reviewed-by: Qu Wenruo <wqu@suse.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 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions