aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/keyring.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2010-03-08 20:46:47 -0500
committerJames Morris <jmorris@namei.org>2010-03-08 20:46:47 -0500
commitc43a7523470dc2d9947fa114a0b54317975d4c04 (patch)
tree30a72ed1e9079f19b814263197761820f57c39ce /security/keys/keyring.c
parenteaa5eec739637f32f8733d528ff0b94fd62b1214 (diff)
parent634a539e16bd7a1ba31c3f832baa725565cc9f96 (diff)
Merge branch 'next-queue' into next
Diffstat (limited to 'security/keys/keyring.c')
-rw-r--r--security/keys/keyring.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/security/keys/keyring.c b/security/keys/keyring.c
index e814d2109f8e..a98fb376f249 100644
--- a/security/keys/keyring.c
+++ b/security/keys/keyring.c
@@ -170,12 +170,10 @@ static void keyring_describe(const struct key *keyring, struct seq_file *m)
170{ 170{
171 struct keyring_list *klist; 171 struct keyring_list *klist;
172 172
173 if (keyring->description) { 173 if (keyring->description)
174 seq_puts(m, keyring->description); 174 seq_puts(m, keyring->description);
175 } 175 else
176 else {
177 seq_puts(m, "[anon]"); 176 seq_puts(m, "[anon]");
178 }
179 177
180 rcu_read_lock(); 178 rcu_read_lock();
181 klist = rcu_dereference(keyring->payload.subscriptions); 179 klist = rcu_dereference(keyring->payload.subscriptions);