diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-11-17 15:45:47 +0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-01-17 16:04:51 +0400 |
commit | 8ce03fd76d323526a693d05d85296ef07a387a9f (patch) | |
tree | b1370c17b55e60dfc8faa8b6a8dae2b394199ce9 /net | |
parent | dfdebc24837ed0a1d6ad73b108a10d3c88d1b6e8 (diff) | |
download | linux-8ce03fd76d323526a693d05d85296ef07a387a9f.tar.xz |
cuse: use mutex as registration lock instead of spinlocks
We need to check for name-collisions during cuse-device registration. To
avoid race-conditions, this needs to be protected during the whole device
registration. Therefore, replace the spinlocks by mutexes first so we can
safely extend the locked regions to include more expensive or sleeping
code paths.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions