From: Laurent Pinchart Date: Thu, 26 Jan 2012 11:27:25 +0000 (+0100) Subject: dma-buf: Move code out of mutex-protected section in dma_buf_attach() X-Git-Tag: v3.4-rc1~57^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ed9201bdd9a8e462d768a838fb2bc944c6887a4;p=pandora-kernel.git dma-buf: Move code out of mutex-protected section in dma_buf_attach() Some fields can be set without mutex protection. Initialize them before locking the mutex. Signed-off-by: Laurent Pinchart Reviewed-by: Daniel Vetter Signed-off-by: Sumit Semwal --- Reading git-diff-tree failed