diff options
author | Christoph Hellwig <hch@lst.de> | 2024-09-10 07:39:06 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-09-10 12:14:15 +0300 |
commit | 492f53758fad4fde3e9a98696780f8b53f87cdae (patch) | |
tree | 6c5735d9529bac636d2a4a5cf17de71f43acaee5 /fs/xfs | |
parent | 11596dc3dfae572cc267dda2dc4dab9ae34668f3 (diff) | |
download | linux-492f53758fad4fde3e9a98696780f8b53f87cdae.tar.xz |
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>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/xfs_iomap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 47b5c8358825..695e5bee776f 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c @@ -1212,7 +1212,8 @@ static int xfs_buffered_write_delalloc_punch( struct inode *inode, loff_t offset, - loff_t length) + loff_t length, + struct iomap *iomap) { xfs_bmap_punch_delalloc_range(XFS_I(inode), offset, offset + length); return 0; |