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 <[email protected]>
---
 include/linux/iomap.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/iomap.h b/include/linux/iomap.h
index 43cc9208599f..9962dcb836b9 100644
--- a/include/linux/iomap.h
+++ b/include/linux/iomap.h
@@ -59,6 +59,7 @@ struct iomap {
                struct dax_device   *dax_dev;
                void                *inline_data;
        };
+       void                    *private; /* filesystem private */
 
        /*
         * Called when finished processing a page in the mapping returned in
-- 
2.17.1

Reply via email to