Revision 9b15dfe0542fd6f7455c6aeca1cf711192343bf9 authored by Marek Szyprowski on 28 April 2016, 10:25:04 UTC, committed by Mauro Carvalho Chehab on 02 May 2016, 13:39:58 UTC
Commit 0c426c472b5585ed6e59160359c979506d45ae49 ("[media] media: Always keep a graph walk large enough around") changed media_device_register_entity() function to take mdev->graph_mutex. This causes deadlock in driver probe, which calls (indirectly) this function with ->graph_mutex taken. This patch removes taking ->graph_mutex in driver probe to avoid deadlock. Other drivers don't take ->graph_mutex for entity registration, so this change should be safe. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
1 parent 243d4c0
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 4.4 KB |
Makefile | -rw-r--r-- | 808 bytes |
acl.h | -rw-r--r-- | 2.4 KB |
auth.c | -rw-r--r-- | 2.0 KB |
auth.h | -rw-r--r-- | 339 bytes |
blocklayout.c | -rw-r--r-- | 10.4 KB |
blocklayoutxdr.c | -rw-r--r-- | 5.1 KB |
blocklayoutxdr.h | -rw-r--r-- | 1.3 KB |
cache.h | -rw-r--r-- | 1.8 KB |
current_stateid.h | -rw-r--r-- | 1.4 KB |
export.c | -rw-r--r-- | 31.4 KB |
export.h | -rw-r--r-- | 3.0 KB |
fault_inject.c | -rw-r--r-- | 3.7 KB |
idmap.h | -rw-r--r-- | 2.3 KB |
lockd.c | -rw-r--r-- | 1.7 KB |
netns.h | -rw-r--r-- | 3.6 KB |
nfs2acl.c | -rw-r--r-- | 9.0 KB |
nfs3acl.c | -rw-r--r-- | 6.4 KB |
nfs3proc.c | -rw-r--r-- | 24.5 KB |
nfs3xdr.c | -rw-r--r-- | 26.8 KB |
nfs4acl.c | -rw-r--r-- | 21.8 KB |
nfs4callback.c | -rw-r--r-- | 28.5 KB |
nfs4idmap.c | -rw-r--r-- | 16.0 KB |
nfs4layouts.c | -rw-r--r-- | 18.2 KB |
nfs4proc.c | -rw-r--r-- | 67.1 KB |
nfs4recover.c | -rw-r--r-- | 35.6 KB |
nfs4state.c | -rw-r--r-- | 175.5 KB |
nfs4xdr.c | -rw-r--r-- | 112.6 KB |
nfscache.c | -rw-r--r-- | 15.3 KB |
nfsctl.c | -rw-r--r-- | 32.9 KB |
nfsd.h | -rw-r--r-- | 16.6 KB |
nfsfh.c | -rw-r--r-- | 18.1 KB |
nfsfh.h | -rw-r--r-- | 7.0 KB |
nfsproc.c | -rw-r--r-- | 21.6 KB |
nfssvc.c | -rw-r--r-- | 19.6 KB |
nfsxdr.c | -rw-r--r-- | 13.0 KB |
pnfs.h | -rw-r--r-- | 2.5 KB |
state.h | -rw-r--r-- | 21.9 KB |
stats.c | -rw-r--r-- | 2.7 KB |
stats.h | -rw-r--r-- | 1.4 KB |
trace.c | -rw-r--r-- | 48 bytes |
trace.h | -rw-r--r-- | 2.5 KB |
vfs.c | -rw-r--r-- | 49.7 KB |
vfs.h | -rw-r--r-- | 5.4 KB |
xdr.h | -rw-r--r-- | 4.0 KB |
xdr3.h | -rw-r--r-- | 8.1 KB |
xdr4.h | -rw-r--r-- | 21.3 KB |
xdr4cb.h | -rw-r--r-- | 1.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...