• L
    Make "cache_name_pos()" available to others. · eb38c22f
    Linus Torvalds 提交于
    It finds the cache entry position for a given name, and is
    generally useful. Sure, everybody can just scan the active
    cache array, but since it's sorted, you actually want to
    search it with a binary search, so let's not duplicate that
    logic all over the place.
    eb38c22f
update-cache.c 4.7 KB