fscache: Use refcount_t for the cookie refcount instead of atomic_t
[linux-2.6-microblaze.git] / fs / fscache / fsdef.c
index 09ed879..0402673 100644 (file)
@@ -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,