git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'stable-3.2' into pandora-3.2
[pandora-kernel.git]
/
fs
/
fscache
/
object-list.c
diff --git
a/fs/fscache/object-list.c
b/fs/fscache/object-list.c
index
ebe29c5
..
53d7fd3
100644
(file)
--- a/
fs/fscache/object-list.c
+++ b/
fs/fscache/object-list.c
@@
-338,6
+338,13
@@
static void fscache_objlist_config(struct fscache_objlist_data *data)
rcu_read_lock();
confkey = key->payload.data;
+ if (!confkey) {
+ /* key was revoked */
+ rcu_read_unlock();
+ key_put(key);
+ goto no_config;
+ }
+
buf = confkey->data;
for (len = confkey->datalen - 1; len >= 0; len--) {