summaryrefslogtreecommitdiff
path: root/include/linux/spinlock_up.h
diff options
context:
space:
mode:
authorJohn Sheu <sheu@google.com>2013-02-12 05:50:24 +0400
committerSumit Semwal <sumit.semwal@linaro.org>2013-02-27 13:44:02 +0400
commit495c10cc1c0c359871d5bef32dd173252fc17995 (patch)
tree5cc942ec2c74496dd3774dffff5cdde67cd75ae0 /include/linux/spinlock_up.h
parentf00b4dad9d9eb001a04cf72e8351a2a1b9e99322 (diff)
downloadlinux-495c10cc1c0c359871d5bef32dd173252fc17995.tar.xz
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 'include/linux/spinlock_up.h')
0 files changed, 0 insertions, 0 deletions