Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bcachefs: Use correct fgf_t type as function argument

This quiets a sparse complaint.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

+2 -2
+1 -1
fs/bcachefs/fs-io-pagecache.c
··· 13 13 14 14 int bch2_filemap_get_contig_folios_d(struct address_space *mapping, 15 15 loff_t start, u64 end, 16 - int fgp_flags, gfp_t gfp, 16 + fgf_t fgp_flags, gfp_t gfp, 17 17 folios *fs) 18 18 { 19 19 struct folio *f;
+1 -1
fs/bcachefs/fs-io-pagecache.h
··· 7 7 typedef DARRAY(struct folio *) folios; 8 8 9 9 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 *); 11 11 int bch2_write_invalidate_inode_pages_range(struct address_space *, loff_t, loff_t); 12 12 13 13 /*