summaryrefslogtreecommitdiffstats
path: root/fs/ufs/util.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-07-08 23:47:06 +0200
committerChristian Brauner <brauner@kernel.org>2024-08-07 11:31:52 +0200
commit128d1e89acb978bf6a4ec0d04bbfe8cb801965be (patch)
tree40ee96c441cd69c1ec488cf857a12f2ac1bf16e2 /fs/ufs/util.h
parentufs: Convert ufs_make_empty() to use a folio (diff)
downloadlinux-128d1e89acb978bf6a4ec0d04bbfe8cb801965be.tar.xz
linux-128d1e89acb978bf6a4ec0d04bbfe8cb801965be.zip
ufs: Convert ufs_prepare_chunk() to take a folio
All callers now have a folio, so convert ufs_prepare_chunk() to take one. 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 '')
-rw-r--r--fs/ufs/util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ufs/util.h b/fs/ufs/util.h
index 0ecd2ed792f5..bf708b68f150 100644
--- a/fs/ufs/util.h
+++ b/fs/ufs/util.h
@@ -250,9 +250,9 @@ ufs_set_inode_gid(struct super_block *sb, struct ufs_inode *inode, u32 value)
}
}
-extern dev_t ufs_get_inode_dev(struct super_block *, struct ufs_inode_info *);
-extern void ufs_set_inode_dev(struct super_block *, struct ufs_inode_info *, dev_t);
-extern int ufs_prepare_chunk(struct page *page, loff_t pos, unsigned len);
+dev_t ufs_get_inode_dev(struct super_block *, struct ufs_inode_info *);
+void ufs_set_inode_dev(struct super_block *, struct ufs_inode_info *, dev_t);
+int ufs_prepare_chunk(struct folio *folio, loff_t pos, unsigned len);
/*
* These functions manipulate ufs buffers