diff options
author | John Sheu <sheu@google.com> | 2013-02-11 17:50:24 -0800 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2013-02-27 15:14:02 +0530 |
commit | 495c10cc1c0c359871d5bef32dd173252fc17995 (patch) | |
tree | 5cc942ec2c74496dd3774dffff5cdde67cd75ae0 /Documentation/highuid.txt | |
parent | dma-buf: implement vmap refcounting in the interface logic (diff) | |
download | linux-dev-495c10cc1c0c359871d5bef32dd173252fc17995.tar.xz linux-dev-495c10cc1c0c359871d5bef32dd173252fc17995.zip |
CHROMIUM: dma-buf: restore args on failure of dma_buf_mmap
Callers to dma_buf_mmap expect to fput() the vma struct's vm_file
themselves on failure. Not restoring the struct's data on failure
causes a double-decrement of the vm_file's refcount.
Signed-off-by: John Sheu <sheu@google.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Diffstat (limited to 'Documentation/highuid.txt')
0 files changed, 0 insertions, 0 deletions