diff options
| author | Rob Clark <[email protected]> | 2012-09-28 07:29:43 +0000 |
|---|---|---|
| committer | Sumit Semwal <[email protected]> | 2012-12-20 06:35:05 +0000 |
| commit | b6fa0cd62c5b9d47f8e5d42cb2876677a5ed701e (patch) | |
| tree | bb8b4c8abd5b37a9aff71b6757187339202d977a /net/unix/af_unix.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (diff) | |
| download | kernel-b6fa0cd62c5b9d47f8e5d42cb2876677a5ed701e.tar.gz kernel-b6fa0cd62c5b9d47f8e5d42cb2876677a5ed701e.zip | |
dma-buf: might_sleep() in dma_buf_unmap_attachment()
We never really clarified if unmap could be done in atomic context.
But since mapping might require sleeping, this implies mutex in use
to synchronize mapping/unmapping, so unmap could sleep as well. Add
a might_sleep() to clarify this.
Signed-off-by: Rob Clark <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Sumit Semwal <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
