iomap: add a io_private field to struct iomap_ioend
authorChristoph Hellwig <hch@lst.de>
Thu, 6 Feb 2025 06:40:06 +0000 (07:40 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 6 Feb 2025 12:02:15 +0000 (13:02 +0100)
commitd06244c60aec1d5d1589efe6b611a5b91a49465c
tree0e19ba5ecf6a523984f50f8bf50f85c8fd80e316
parente523f2d4c974a819730830ce1c38834ee0cd7318
iomap: add a io_private field to struct iomap_ioend

Add a private data field to struct iomap_ioend so that the file system
can attach information to it.  Zoned XFS will use this for a pointer to
the open zone.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250206064035.2323428-9-hch@lst.de
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/iomap/ioend.c
include/linux/iomap.h