ubifs: Convert allocate_budget() to work on a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 24 Jan 2024 17:52:54 +0000 (17:52 +0000)
committerRichard Weinberger <richard@nod.at>
Sun, 25 Feb 2024 20:08:01 +0000 (21:08 +0100)
commita3c2f196cdfc21404e9678204f55ad7be8e7226e
treeaa4161c68c2fa76f6acc4b9388fbb00404d09f26
parentb96af1fdb47cf85eaddc3c82413b580b75aae2d2
ubifs: Convert allocate_budget() to work on a folio

The one caller has a folio, so pass it in instead of the page.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/file.c