dma-buf: pass flags into dma_buf_fd.
authorDave Airlie <airlied@redhat.com>
Fri, 16 Mar 2012 10:34:02 +0000 (10:34 +0000)
committerSumit Semwal <sumit.semwal@ti.com>
Mon, 26 Mar 2012 06:02:26 +0000 (11:32 +0530)
commit55c1c4ca23d0f2736ef7c219d0fb005323ff8ee0
tree52c2ae868121e09df3d77fc998f233549cf8ae34
parent33ea2dcb39ba50b0b69d1b1dc24702f084b46411
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>
drivers/base/dma-buf.c
include/linux/dma-buf.h