From: Linus Torvalds Date: Sat, 9 Apr 2005 16:26:55 +0000 (-0700) Subject: Make "cache_name_pos()" available to others. X-Git-Tag: v0.99~942 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/eb38c22f535c7c973f27b62845c5136c4be0ae49?ds=inline;hp=eb38c22f535c7c973f27b62845c5136c4be0ae49 Make "cache_name_pos()" available to others. 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. ---