Centos-kernel-stream-9/fs/iomap
Brian Foster fb58207d85 iomap: turn iomap_want_unshare_iter into an inline function
JIRA: https://issues.redhat.com/browse/RHEL-64959

commit 6db388585e486c0261aeef55f8bc63a9b45756c0
Author: Christoph Hellwig <hch@lst.de>
Date:   Tue Oct 15 06:13:50 2024 +0200

    iomap: turn iomap_want_unshare_iter into an inline function

    iomap_want_unshare_iter currently sits in fs/iomap/buffered-io.c, which
    depends on CONFIG_BLOCK.  It is also in used in fs/dax.c whіch has no
    such dependency.  Given that it is a trivial check turn it into an inline
    in include/linux/iomap.h to fix the DAX && !BLOCK build.

    Fixes: 6ef6a0e821d3 ("iomap: share iomap_unshare_iter predicate code with fsdax")
    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Link: https://lore.kernel.org/r/20241015041350.118403-1-hch@lst.de
    Reviewed-by: Brian Foster <bfoster@redhat.com>
    Signed-off-by: Christian Brauner <brauner@kernel.org>

Signed-off-by: Brian Foster <bfoster@redhat.com>
2024-11-12 09:52:41 -05:00
..
Makefile iomap: build the block based code conditionally 2023-03-14 10:54:19 -04:00
buffered-io.c iomap: turn iomap_want_unshare_iter into an inline function 2024-11-12 09:52:41 -05:00
direct-io.c iomap: use kiocb_write_and_wait and kiocb_invalidate_pages 2024-04-17 10:04:41 +08:00
fiemap.c iomap: switch iomap_bmap to use iomap_iter 2022-10-21 15:46:21 +02:00
iter.c iomap: write iomap validity checks 2023-02-06 11:03:28 +01:00
seek.c iomap: switch iomap_seek_data to use iomap_iter 2022-10-21 15:46:21 +02:00
swapfile.c iomap: switch iomap_swapfile_activate to use iomap_iter 2022-10-21 15:46:21 +02:00
trace.c
trace.h iomap: Convert to release_folio 2023-03-24 11:19:01 -04:00