|
@@ -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);
|