summaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-04-16 18:28:55 +0100
committerTheodore Ts'o <tytso@mit.edu>2024-05-07 15:38:07 -0400
commit5eea586b47f05b5f5518cf8f9dd9283a01a8066d (patch)
tree31d4ab7acce4f6a0fc50893a887a93949ed638f5 /fs/ext4/mballoc.h
parent99b150d84e4939735cfce245e32e3d29312c68ec (diff)
downloadlinux-5eea586b47f05b5f5518cf8f9dd9283a01a8066d.tar.gz
linux-5eea586b47f05b5f5518cf8f9dd9283a01a8066d.tar.bz2
linux-5eea586b47f05b5f5518cf8f9dd9283a01a8066d.zip
ext4: convert bd_buddy_page to bd_buddy_folio
There is no need to make this a multi-page folio, so leave all the infrastructure around it in pages. But since we're locking it, playing with its refcount and checking whether it's uptodate, it needs to move to the folio API. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Link: https://lore.kernel.org/r/20240416172900.244637-3-willy@infradead.org Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.h')
-rw-r--r--fs/ext4/mballoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.h b/fs/ext4/mballoc.h
index f8b7e9d2e463..268c838ddc2d 100644
--- a/fs/ext4/mballoc.h
+++ b/fs/ext4/mballoc.h
@@ -215,7 +215,7 @@ struct ext4_allocation_context {
#define AC_STATUS_BREAK 3
struct ext4_buddy {
- struct page *bd_buddy_page;
+ struct folio *bd_buddy_folio;
void *bd_buddy;
struct folio *bd_bitmap_folio;
void *bd_bitmap;