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) ...@@ -319,8 +319,8 @@ int cache_clean(void)
if (test_and_clear_bit(CACHE_PENDING, &ch->flags)) if (test_and_clear_bit(CACHE_PENDING, &ch->flags))
queue_loose(current_detail, ch); queue_loose(current_detail, ch);
if (atomic_read(&ch->refcnt)) if (!atomic_read(&ch->refcnt))
continue; break;
} }
if (ch) { if (ch) {
cache_get(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