jbd,jbd2: fix oops in jbd2_journal_put_journal_head()
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / dma-buf.h
index 3d754a3..9978b61 100644 (file)
@@ -119,8 +119,10 @@ struct dma_buf {
        struct file *file;
        struct list_head attachments;
        const struct dma_buf_ops *ops;
-       /* mutex to serialize list manipulation and attach/detach */
+       /* mutex to serialize list manipulation, attach/detach and vmap/unmap */
        struct mutex lock;
+       unsigned vmapping_counter;
+       void *vmap_ptr;
        void *priv;
 };