diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2018-06-19 18:10:57 -0400 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-06-19 18:10:57 -0400 |
commit | e184fde6f3f5353040dd4b5637f823fc87436e55 (patch) | |
tree | bf00688ce9691748cd743b52898b6057ff98c350 | |
parent | 63899c6f8851c32214b19390254fa1ae90b582df (diff) |
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 <agruenba@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
-rw-r--r-- | include/linux/iomap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iomap.h b/include/linux/iomap.h index 45f43865b0f0..1f36523d448a 100644 --- a/include/linux/iomap.h +++ b/include/linux/iomap.h | |||
@@ -57,6 +57,7 @@ struct iomap { | |||
57 | struct block_device *bdev; /* block device for I/O */ | 57 | struct block_device *bdev; /* block device for I/O */ |
58 | struct dax_device *dax_dev; /* dax_dev for dax operations */ | 58 | struct dax_device *dax_dev; /* dax_dev for dax operations */ |
59 | void *inline_data; | 59 | void *inline_data; |
60 | void *private; /* filesystem private */ | ||
60 | 61 | ||
61 | /* | 62 | /* |
62 | * Called when finished processing a page in the mapping returned in | 63 | * Called when finished processing a page in the mapping returned in |