[Linaro-mm-sig] [PATCH 4/4] dma-buf: Move code out of mutex-protected section in dma_buf_attach()

Daniel Vetter daniel at ffwll.ch
Thu Jan 26 11:36:43 UTC 2012


On Thu, Jan 26, 2012 at 12:27:25PM +0100, Laurent Pinchart wrote:
> Some fields can be set without mutex protection. Initialize them before
> locking the mutex.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Linaro-mm-sig mailing list