]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/fscache/object.c
FS-Cache: Fix operation state management and accounting
[karo-tx-linux.git] / fs / fscache / object.c
index b6b897c550acfea609acc9f99f0cdd2eaa90b2a3..773bc798a41656032eba7b6a9c2469e17e589db2 100644 (file)
@@ -587,8 +587,6 @@ static void fscache_object_available(struct fscache_object *object)
        if (object->n_in_progress == 0) {
                if (object->n_ops > 0) {
                        ASSERTCMP(object->n_ops, >=, object->n_obj_ops);
-                       ASSERTIF(object->n_ops > object->n_obj_ops,
-                                !list_empty(&object->pending_ops));
                        fscache_start_operations(object);
                } else {
                        ASSERT(list_empty(&object->pending_ops));