Commit 1329f418 authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds

[PATCH] Fix bug in rpc cache_clean introduced by previous patch

Having a 'continue' at the end of this look it pointless... it should
be a break.
parent 49834586
......@@ -319,8 +319,8 @@ int cache_clean(void)
if (test_and_clear_bit(CACHE_PENDING, &ch->flags))
queue_loose(current_detail, ch);
if (atomic_read(&ch->refcnt))
continue;
if (!atomic_read(&ch->refcnt))
break;
}
if (ch) {
cache_get(ch);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment