Skip to content

Commit

Permalink
iomap: add private pointer to struct iomap
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andreas Gruenbacher authored and Darrick J. Wong committed Jun 19, 2018
1 parent 63899c6 commit e184fde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/iomap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e184fde

Please sign in to comment.