diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-10 22:06:50 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-10 22:06:50 -0700 |
commit | 76e7f4ec485f24b167b76db046dc2ca4562debd4 (patch) | |
tree | 3d00c15360e1aea2a51558e5f56b95d11e9d7010 /fsck-cache.c | |
parent | 262e82b4a7ec708d8c9e641421509b16b8ec69f1 (diff) | |
download | git-76e7f4ec485f24b167b76db046dc2ca4562debd4.tar.gz |
Fix off-by-one error in removal of cache entry.
Also make the return value of "cache_name_pos()" be sane: positive
or zero if we found it (it's the index into the cache array), and
"-pos-1" to indicate where it should go if we didn't.
Diffstat (limited to 'fsck-cache.c')
0 files changed, 0 insertions, 0 deletions