From: John Sheu Date: Tue, 12 Feb 2013 01:50:24 +0000 (-0800) Subject: CHROMIUM: dma-buf: restore args on failure of dma_buf_mmap X-Git-Tag: v3.9-rc1~39^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=495c10cc1c0c359871d5bef32dd173252fc17995;p=pandora-kernel.git 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 Reviewed-by: Daniel Vetter Signed-off-by: Sumit Semwal --- Reading git-diff-tree failed