X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fmbcache.h;h=99e044b4efc6d62ea92e79f79a2b74ec8b8559ad;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=8e5a10410a30e31d4fbde376d6686354d6903e8a;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/include/linux/mbcache.h b/include/linux/mbcache.h index 8e5a10410..99e044b4e 100644 --- a/include/linux/mbcache.h +++ b/include/linux/mbcache.h @@ -22,14 +22,14 @@ struct mb_cache_entry { }; struct mb_cache_op { - int (*free)(struct mb_cache_entry *, int); + int (*free)(struct mb_cache_entry *, gfp_t); }; /* Functions on caches */ struct mb_cache * mb_cache_create(const char *, struct mb_cache_op *, size_t, int, int); -void mb_cache_shrink(struct mb_cache *, struct block_device *); +void mb_cache_shrink(struct block_device *); void mb_cache_destroy(struct mb_cache *); /* Functions on cache entries */