fscache: Use refcount_t for the cookie refcount instead of atomic_t
[linux-2.6-microblaze.git] / include / linux / fscache.h
index ea61e54..a4dab59 100644 (file)
@@ -123,7 +123,7 @@ struct fscache_netfs {
  * - indices are created on disk just-in-time
  */
 struct fscache_cookie {
-       atomic_t                        usage;          /* number of users of this cookie */
+       refcount_t                      ref;            /* number of users of this cookie */
        atomic_t                        n_children;     /* number of children of this cookie */
        atomic_t                        n_active;       /* number of active users of netfs ptrs */
        unsigned int                    debug_id;