diff options
| author | Andrew Morton <akpm@digeo.com> | 2002-11-15 18:52:23 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-11-15 18:52:23 -0800 |
| commit | ea6d6fc75ce8a6af5b6e53119d3ce67c05f8236a (patch) | |
| tree | 12feb597b906f65e3632625b80bbdc02de5784d8 /include/linux/mbcache.h | |
| parent | 0828e38fb7811861ac223cd1ed5e410629f46a72 (diff) | |
[PATCH] mbcache: add gfp_mask parameter to free() callback,
Patch from Andreas Gruenbacher <agruen@suse.de>
Add a gfp_mask parameter to the free() callback so that the callback can
safely do I/O, etc. The free callback can now also fail. This will be
needed by reiserfs.
The order of entries on the cache entry lru is reversed so that
list_for_each_safe() can be used. Several helper functions that don't
make the code any better are removed. Finally, a couple of cosmetic
things.
Diffstat (limited to 'include/linux/mbcache.h')
| -rw-r--r-- | include/linux/mbcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mbcache.h b/include/linux/mbcache.h index d457859791cb..7738749e1285 100644 --- a/include/linux/mbcache.h +++ b/include/linux/mbcache.h @@ -10,7 +10,7 @@ struct mb_cache_entry; struct mb_cache_op { - void (*free)(struct mb_cache_entry *); + int (*free)(struct mb_cache_entry *, int); }; struct mb_cache { |
