Commit c4f1f80a authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: Use correct fgf_t type as function argument

This quiets a sparse complaint.
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 48d584b7
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
int bch2_filemap_get_contig_folios_d(struct address_space *mapping, int bch2_filemap_get_contig_folios_d(struct address_space *mapping,
loff_t start, u64 end, loff_t start, u64 end,
int fgp_flags, gfp_t gfp, fgf_t fgp_flags, gfp_t gfp,
folios *fs) folios *fs)
{ {
struct folio *f; struct folio *f;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
typedef DARRAY(struct folio *) folios; typedef DARRAY(struct folio *) folios;
int bch2_filemap_get_contig_folios_d(struct address_space *, loff_t, int bch2_filemap_get_contig_folios_d(struct address_space *, loff_t,
u64, int, gfp_t, folios *); u64, fgf_t, gfp_t, folios *);
int bch2_write_invalidate_inode_pages_range(struct address_space *, loff_t, loff_t); int bch2_write_invalidate_inode_pages_range(struct address_space *, loff_t, loff_t);
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment