diff options
author | 2023-12-14 16:13:29 +0000 | |
---|---|---|
committer | 2024-03-04 16:24:45 +0100 | |
commit | dfba9f47730604a46c284f6099a11c5686b6289d (patch) | |
tree | 03bb6b3931b4e4a897462d827fff88b23b9a34e0 /fs/btrfs/defrag.c | |
parent | btrfs: WARN_ON_ONCE() in our leak detection code (diff) | |
download | wireguard-linux-dfba9f47730604a46c284f6099a11c5686b6289d.tar.xz wireguard-linux-dfba9f47730604a46c284f6099a11c5686b6289d.zip |
btrfs: add set_folio_extent_mapped() helper
Turn set_page_extent_mapped() into a wrapper around this version.
Saves a call to compound_head() for callers who already have a folio
and removes a couple of users of page->mapping.
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/defrag.c')
0 files changed, 0 insertions, 0 deletions