diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-07-11 06:09:04 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-08-07 12:33:36 +0300 |
commit | 9f04609f74ec7a439e1ac42da5db9e6ddf4f7b13 (patch) | |
tree | 3d957d78bfce2c9041c04fab37b0579dcce5e61b /fs/ufs | |
parent | 7f90d7f1bc9418aba1ef040565308e83dbe0f485 (diff) | |
download | linux-9f04609f74ec7a439e1ac42da5db9e6ddf4f7b13.tar.xz |
buffer: Convert __block_write_begin() to take a folio
Almost all callers have a folio now, so change __block_write_begin()
to take a folio and remove a call to compound_head().
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/ufs')
-rw-r--r-- | fs/ufs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c index f43461652d9f..5331ae7ebf3e 100644 --- a/fs/ufs/inode.c +++ b/fs/ufs/inode.c @@ -481,7 +481,7 @@ static int ufs_read_folio(struct file *file, struct folio *folio) int ufs_prepare_chunk(struct folio *folio, loff_t pos, unsigned len) { - return __block_write_begin(&folio->page, pos, len, ufs_getfrag_block); + return __block_write_begin(folio, pos, len, ufs_getfrag_block); } static void ufs_truncate_blocks(struct inode *); |