summaryrefslogtreecommitdiff
path: root/fs/sysv/sysv.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-07-09 10:52:44 -0400
committerChristian Brauner <brauner@kernel.org>2024-08-07 11:31:54 +0200
commitd3a2fa28fe516cf9621ffdafde35308bebc4714c (patch)
tree001eb5ad5f1030ea84b05584a3a233be7077495e /fs/sysv/sysv.h
parent7f4fb150631bc2b1de11938f9fc9f8c60abae591 (diff)
sysv: Convert sysv_prepare_chunk() to take a folio
All callers now have a folio, so convert sysv_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 'fs/sysv/sysv.h')
-rw-r--r--fs/sysv/sysv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysv/sysv.h b/fs/sysv/sysv.h
index fec9f6b883d5..0a48b2e7edb1 100644
--- a/fs/sysv/sysv.h
+++ b/fs/sysv/sysv.h
@@ -133,8 +133,8 @@ extern void sysv_free_block(struct super_block *, sysv_zone_t);
extern unsigned long sysv_count_free_blocks(struct super_block *);
/* itree.c */
-extern void sysv_truncate(struct inode *);
-extern int sysv_prepare_chunk(struct page *page, loff_t pos, unsigned len);
+void sysv_truncate(struct inode *);
+int sysv_prepare_chunk(struct folio *folio, loff_t pos, unsigned len);
/* inode.c */
extern struct inode *sysv_iget(struct super_block *, unsigned int);