From: Lars Ellenberg Date: Mon, 21 Feb 2011 12:20:57 +0000 (+0100) Subject: lru_cache.h: fix comments referring to ts_ instead of lc_ X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~13438^2~18^2~450 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=0097f0405d365eff66235f887d47fa0b62b28599;p=mirror_ubuntu-artful-kernel.git lru_cache.h: fix comments referring to ts_ instead of lc_ For some time we contemplated calling the "struct lru_cache" a "struct tracked_set", and some comments kept the ts_ prefix. Fix those to match the member field names. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- 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) /* it was not present in the active set. * we are going to recycle an unused (or even "free") element. * user may need to commit a transaction to record that change. - * we serialize on flags & TF_DIRTY */ + * we serialize on flags & LC_DIRTY */ if (test_and_set_bit(__LC_DIRTY, &lc->flags)) { ++lc->dirty; RETURN(NULL);