filemap: Add fgf_t typedef
Similarly to gfp_t, define fgf_t as its own type to prevent various misuses and confusion. Leave the flags as FGP_* for now to reduce the size of this patch; they will be converted to FGF_* later. Move the documentation to the definition of the type insted of burying it in the __filemap_get_folio() documentation. Signed-off-by:Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by:
Christoph Hellwig <hch@lst.de> Reviewed-by:
Darrick J. Wong <djwong@kernel.org> Reviewed-by:
Kent Overstreet <kent.overstreet@linux.dev>
Showing
- fs/btrfs/file.c 3 additions, 3 deletionsfs/btrfs/file.c
- fs/f2fs/compress.c 1 addition, 1 deletionfs/f2fs/compress.c
- fs/f2fs/f2fs.h 1 addition, 1 deletionfs/f2fs/f2fs.h
- fs/iomap/buffered-io.c 1 addition, 1 deletionfs/iomap/buffered-io.c
- include/linux/pagemap.h 37 additions, 11 deletionsinclude/linux/pagemap.h
- mm/filemap.c 2 additions, 17 deletionsmm/filemap.c
- mm/folio-compat.c 1 addition, 1 deletionmm/folio-compat.c
Loading
Please register or sign in to comment