diff options
author | Dave Airlie <airlied@redhat.com> | 2012-03-16 06:34:02 -0400 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@ti.com> | 2012-03-26 02:02:26 -0400 |
commit | 55c1c4ca23d0f2736ef7c219d0fb005323ff8ee0 (patch) | |
tree | 52c2ae868121e09df3d77fc998f233549cf8ae34 /include | |
parent | 33ea2dcb39ba50b0b69d1b1dc24702f084b46411 (diff) |
dma-buf: pass flags into dma_buf_fd.
We need to pass the flags into dma_buf_fd at this point,
so the flags end up doing the right thing for O_CLOEXEC.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/dma-buf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dma-buf.h b/include/linux/dma-buf.h index a885b2689b8f..891457a86b30 100644 --- a/include/linux/dma-buf.h +++ b/include/linux/dma-buf.h | |||
@@ -117,7 +117,7 @@ void dma_buf_detach(struct dma_buf *dmabuf, | |||
117 | struct dma_buf_attachment *dmabuf_attach); | 117 | struct dma_buf_attachment *dmabuf_attach); |
118 | struct dma_buf *dma_buf_export(void *priv, const struct dma_buf_ops *ops, | 118 | struct dma_buf *dma_buf_export(void *priv, const struct dma_buf_ops *ops, |
119 | size_t size, int flags); | 119 | size_t size, int flags); |
120 | int dma_buf_fd(struct dma_buf *dmabuf); | 120 | int dma_buf_fd(struct dma_buf *dmabuf, int flags); |
121 | struct dma_buf *dma_buf_get(int fd); | 121 | struct dma_buf *dma_buf_get(int fd); |
122 | void dma_buf_put(struct dma_buf *dmabuf); | 122 | void dma_buf_put(struct dma_buf *dmabuf); |
123 | 123 | ||