]> git.ipfire.org Git - thirdparty/linux.git/commit
iomap: pass the iomap to the punch callback
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Sep 2024 04:39:06 +0000 (07:39 +0300)
committerChristian Brauner <brauner@kernel.org>
Tue, 10 Sep 2024 09:14:15 +0000 (11:14 +0200)
commit492f53758fad4fde3e9a98696780f8b53f87cdae
tree6c5735d9529bac636d2a4a5cf17de71f43acaee5
parent11596dc3dfae572cc267dda2dc4dab9ae34668f3
iomap: pass the iomap to the punch callback

XFS will need to look at the flags in the iomap structure, so pass it
down all the way to the callback.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240910043949.3481298-5-hch@lst.de
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/iomap/buffered-io.c
fs/xfs/xfs_iomap.c
include/linux/iomap.h