diff options
author | Liu Aleaxander <Aleaxander@gmail.com> | 2009-05-11 16:47:51 +0800 |
---|---|---|
committer | Liu Aleaxander <Aleaxander@gmail.com> | 2009-05-11 16:47:51 +0800 |
commit | 0d701f8a814792f5db473d417648c2e5a9f6a20c (patch) | |
tree | a6ef6f1800fe043aa9a812714b5b7fb01946ba13 /main.c | |
parent | dcc79fb69015fd7aed1db14544b155969f4d1783 (diff) | |
download | devel-0d701f8a814792f5db473d417648c2e5a9f6a20c.tar.gz devel-0d701f8a814792f5db473d417648c2e5a9f6a20c.tar.xz devel-0d701f8a814792f5db473d417648c2e5a9f6a20c.zip |
Make cache based on block size and fixed some bugs
well, it's a big change.
1st, make the caceh based on block but not sector
2nd, make the fast symlink check worked.
3rd, totally changed the linsector function.
4th, some little changes.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ void print_cache(void) struct cache_struct *cs = cache; for (; i < CACHE_ENTRIES; i++) { cs = cs->next; - printf("%d ", cs->sector); + printf("%d ", cs->block); } printf("\n"); |