]> git.ipfire.org Git - thirdparty/linux.git/commit
exfat: add balloc parameter to exfat_map_cluster() for iomap support
authorNamjae Jeon <linkinjeon@kernel.org>
Thu, 23 Apr 2026 05:38:51 +0000 (14:38 +0900)
committerNamjae Jeon <linkinjeon@kernel.org>
Mon, 15 Jun 2026 10:55:34 +0000 (19:55 +0900)
commit3474416bb9abafca2e79b7ff700a100b7e8bc766
treea3b98189b100bfcf6796a3d6993661ed8ff515f3
parentf07db38084dc45162d5fe2871ed72674ddc0f9ae
exfat: add balloc parameter to exfat_map_cluster() for iomap support

In preparation for supporting the iomap infrastructure, we need to know
whether a new cluster was allocated or not in exfat_map_cluster().

Add an optional 'bool *balloc' output parameter. When a new cluster is
allocated, *balloc is set to true. Pass NULL from exfat_get_block() to
preserve the existing behavior.

Acked-by: Christoph Hellwig <hch@lst.de>
Acked-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/inode.c