aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/lru_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lru_cache.c b/lib/lru_cache.c
index 9f353f7f41ca..4f638b86674f 100644
--- a/lib/lru_cache.c
+++ b/lib/lru_cache.c
@@ -378,7 +378,7 @@ struct lc_element *lc_get(struct lru_cache *lc, unsigned int enr)
378 /* it was not present in the active set. 378 /* it was not present in the active set.
379 * we are going to recycle an unused (or even "free") element. 379 * we are going to recycle an unused (or even "free") element.
380 * user may need to commit a transaction to record that change. 380 * user may need to commit a transaction to record that change.
381 * we serialize on flags & TF_DIRTY */ 381 * we serialize on flags & LC_DIRTY */
382 if (test_and_set_bit(__LC_DIRTY, &lc->flags)) { 382 if (test_and_set_bit(__LC_DIRTY, &lc->flags)) {
383 ++lc->dirty; 383 ++lc->dirty;
384 RETURN(NULL); 384 RETURN(NULL);