diff options
Diffstat (limited to 'Documentation/rpc-cache.txt')
-rw-r--r-- | Documentation/rpc-cache.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/rpc-cache.txt b/Documentation/rpc-cache.txt index 5f757c8cf979..8a382bea6808 100644 --- a/Documentation/rpc-cache.txt +++ b/Documentation/rpc-cache.txt | |||
@@ -24,7 +24,7 @@ The common code handles such things as: | |||
24 | - general cache lookup with correct locking | 24 | - general cache lookup with correct locking |
25 | - supporting 'NEGATIVE' as well as positive entries | 25 | - supporting 'NEGATIVE' as well as positive entries |
26 | - allowing an EXPIRED time on cache items, and removing | 26 | - allowing an EXPIRED time on cache items, and removing |
27 | items after they expire, and are no longe in-use. | 27 | items after they expire, and are no longer in-use. |
28 | - making requests to user-space to fill in cache entries | 28 | - making requests to user-space to fill in cache entries |
29 | - allowing user-space to directly set entries in the cache | 29 | - allowing user-space to directly set entries in the cache |
30 | - delaying RPC requests that depend on as-yet incomplete | 30 | - delaying RPC requests that depend on as-yet incomplete |
@@ -53,7 +53,7 @@ Creating a Cache | |||
53 | structure | 53 | structure |
54 | void cache_put(struct kref *) | 54 | void cache_put(struct kref *) |
55 | This is called when the last reference to an item is | 55 | This is called when the last reference to an item is |
56 | is dropped. The pointer passed is to the 'ref' field | 56 | dropped. The pointer passed is to the 'ref' field |
57 | in the cache_head. cache_put should release any | 57 | in the cache_head. cache_put should release any |
58 | references create by 'cache_init' and, if CACHE_VALID | 58 | references create by 'cache_init' and, if CACHE_VALID |
59 | is set, any references created by cache_update. | 59 | is set, any references created by cache_update. |