From d435b56f109c4bc2bb42f5a88bebc59935fce060 Mon Sep 17 00:00:00 2001 From: David Howells Date: Fri, 24 May 2013 12:45:31 +0100 Subject: [PATCH] --- yaml --- r: 377733 b: refs/heads/master c: dcfae32f892f03dee9896b19d1960c1ecd3f0583 h: refs/heads/master i: 377731: 06f7fd5e11e6f2fc3a72c39ac65f658fee67282c v: v3 --- [refs] | 2 +- trunk/fs/fscache/operation.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 7228e8e14554..b7dcb4a120cb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1bb4b7f98f361132ea322834515334d95b93c184 +refs/heads/master: dcfae32f892f03dee9896b19d1960c1ecd3f0583 diff --git a/trunk/fs/fscache/operation.c b/trunk/fs/fscache/operation.c index 6935901bce38..318071aca217 100644 --- a/trunk/fs/fscache/operation.c +++ b/trunk/fs/fscache/operation.c @@ -260,15 +260,14 @@ void fscache_abort_object(struct fscache_object *object) } /* - * jump start the operation processing on an object + * Jump start the operation processing on an object. The caller must hold + * object->lock. */ void fscache_start_operations(struct fscache_object *object) { struct fscache_operation *op; bool stop = false; - ASSERT(spin_is_locked(&object->lock)); - while (!list_empty(&object->pending_ops) && !stop) { op = list_entry(object->pending_ops.next, struct fscache_operation, pend_link);