From: Jan Kiszka Date: Sun, 17 Oct 2010 05:18:15 +0000 (+0000) Subject: CAPI: Silence lockdep warning on get_capi_appl_by_nr usage X-Git-Tag: v2.6.37-rc1~147^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b003f4e171304234eae9cc11c9fd7f1cbaaf0d6b;p=pandora-kernel.git CAPI: Silence lockdep warning on get_capi_appl_by_nr usage As long as we hold capi_controller_lock, we can safely access capi_applications without RCU protection as no one can modify the application list underneath us. Introduce an RCU-free __get_capi_appl_by_nr for this purpose. This silences lockdep warnings on suspicious rcu_dereference usage. Signed-off-by: Jan Kiszka Signed-off-by: David S. Miller --- Reading git-diff-tree failed