fscache: use appropriate radix tree accessors
[sfrench/cifs-2.6.git] / fs / fscache / object.c
index 1085ca12e25c761d8b09d86b73e30b59d0e3eff7..20e0d0a4dc8cba917ef354e93f1aafe8bfee46a8 100644 (file)
@@ -973,7 +973,7 @@ static const struct fscache_state *_fscache_invalidate_object(struct fscache_obj
         * retire the object instead.
         */
        if (!fscache_use_cookie(object)) {
-               ASSERT(object->cookie->stores.rnode == NULL);
+               ASSERT(radix_tree_empty(&object->cookie->stores));
                set_bit(FSCACHE_OBJECT_RETIRED, &object->flags);
                _leave(" [no cookie]");
                return transit_to(KILL_OBJECT);