From: David Herrmann Date: Sat, 17 Nov 2012 11:45:47 +0000 (+0100) Subject: cuse: use mutex as registration lock instead of spinlocks X-Git-Tag: v3.8-rc5~22^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ce03fd76d323526a693d05d85296ef07a387a9f;p=pandora-kernel.git 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 Acked-by: Tejun Heo Signed-off-by: Miklos Szeredi --- Reading git-diff-tree failed