diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2011-02-21 13:20:57 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-10-14 16:47:43 +0200 |
commit | 0097f0405d365eff66235f887d47fa0b62b28599 (patch) | |
tree | 28bb69ccb4a47335d054450fa8812a7f8894c549 | |
parent | 4738fa16907a933d72bbcae1b8922dc9330fde92 (diff) | |
download | linux-0097f0405d365eff66235f887d47fa0b62b28599.tar.gz linux-0097f0405d365eff66235f887d47fa0b62b28599.tar.bz2 linux-0097f0405d365eff66235f887d47fa0b62b28599.zip |
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 <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
-rw-r--r-- | lib/lru_cache.c | 2 |
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) /* 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); |