projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
namei: Fix use after free in kern_path_locked
[linux-2.6-microblaze.git]
/
fs
/
fscache
/
fsdef.c
diff --git
a/fs/fscache/fsdef.c
b/fs/fscache/fsdef.c
index
09ed879
..
0402673
100644
(file)
--- a/
fs/fscache/fsdef.c
+++ b/
fs/fscache/fsdef.c
@@
-45,7
+45,8
@@
static struct fscache_cookie_def fscache_fsdef_index_def = {
};
struct fscache_cookie fscache_fsdef_index = {
- .usage = ATOMIC_INIT(1),
+ .debug_id = 1,
+ .ref = REFCOUNT_INIT(1),
.n_active = ATOMIC_INIT(1),
.lock = __SPIN_LOCK_UNLOCKED(fscache_fsdef_index.lock),
.backing_objects = HLIST_HEAD_INIT,