Skip to content

Commit c4f1f80

Browse files
author
Kent Overstreet
committed
bcachefs: Use correct fgf_t type as function argument
This quiets a sparse complaint. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent 48d584b commit c4f1f80

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

fs/bcachefs/fs-io-pagecache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
int bch2_filemap_get_contig_folios_d(struct address_space *mapping,
1515
loff_t start, u64 end,
16-
int fgp_flags, gfp_t gfp,
16+
fgf_t fgp_flags, gfp_t gfp,
1717
folios *fs)
1818
{
1919
struct folio *f;

fs/bcachefs/fs-io-pagecache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
typedef DARRAY(struct folio *) folios;
88

99
int bch2_filemap_get_contig_folios_d(struct address_space *, loff_t,
10-
u64, int, gfp_t, folios *);
10+
u64, fgf_t, gfp_t, folios *);
1111
int bch2_write_invalidate_inode_pages_range(struct address_space *, loff_t, loff_t);
1212

1313
/*

0 commit comments

Comments
 (0)