summaryrefslogtreecommitdiff
path: root/fs/bcachefs/fs-io-pagecache.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-11-11 20:30:19 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-11-14 05:42:21 +0300
commitc4f1f80a0e8d829ce4e29ca52cb7f74b22f67454 (patch)
treea3784f884c118ba68ee27788df28f4cbec14f85f /fs/bcachefs/fs-io-pagecache.c
parent48d584b7f90f48d2623fb01743b099efbf0d36c2 (diff)
downloadlinux-c4f1f80a0e8d829ce4e29ca52cb7f74b22f67454.tar.xz
bcachefs: Use correct fgf_t type as function argument
This quiets a sparse complaint. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs-io-pagecache.c')
-rw-r--r--fs/bcachefs/fs-io-pagecache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fs-io-pagecache.c b/fs/bcachefs/fs-io-pagecache.c
index 8bd9bcdd27f7..ff664fd0d8ef 100644
--- a/fs/bcachefs/fs-io-pagecache.c
+++ b/fs/bcachefs/fs-io-pagecache.c
@@ -13,7 +13,7 @@
int bch2_filemap_get_contig_folios_d(struct address_space *mapping,
loff_t start, u64 end,
- int fgp_flags, gfp_t gfp,
+ fgf_t fgp_flags, gfp_t gfp,
folios *fs)
{
struct folio *f;