From: Andreas Gruenbacher Date: Tue, 19 Jun 2018 22:10:57 +0000 (-0700) Subject: iomap: add private pointer to struct iomap X-Git-Tag: v4.19-rc1~178^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e184fde6f3f5353040dd4b5637f823fc87436e55;p=thirdparty%2Fkernel%2Fstable.git iomap: add private pointer to struct iomap Add a private pointer to struct iomap to allow filesystems to pass data from iomap_begin to iomap_end. Will be used by gfs2 for passing on the on-disk inode buffer head. Signed-off-by: Andreas Gruenbacher Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong --- diff --git a/include/linux/iomap.h b/include/linux/iomap.h index 45f43865b0f04..1f36523d448aa 100644 --- a/include/linux/iomap.h +++ b/include/linux/iomap.h @@ -57,6 +57,7 @@ struct iomap { struct block_device *bdev; /* block device for I/O */ struct dax_device *dax_dev; /* dax_dev for dax operations */ void *inline_data; + void *private; /* filesystem private */ /* * Called when finished processing a page in the mapping returned in