From: James Morris Date: Thu, 6 May 2010 12:21:04 +0000 (+1000) Subject: Merge branch 'master' into next X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=043b4d40f53131c5f72eca2a46555fe35328a930;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Merge branch 'master' into next Conflicts: security/keys/keyring.c Resolved conflict with whitespace fix in find_keyring_by_name() Signed-off-by: James Morris --- 043b4d40f53131c5f72eca2a46555fe35328a930 diff --cc security/keys/keyring.c index 29de5ee3457b,1e4b0037935c..3f425a65906f --- a/security/keys/keyring.c +++ b/security/keys/keyring.c @@@ -17,9 -17,14 +17,14 @@@ #include #include #include -#include +#include #include "internal.h" + #define rcu_dereference_locked_keyring(keyring) \ + (rcu_dereference_protected( \ + (keyring)->payload.subscriptions, \ + rwsem_is_locked((struct rw_semaphore *)&(keyring)->sem))) + /* * when plumbing the depths of the key tree, this sets a hard limit set on how * deep we're willing to go