X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fmbcache.h;h=a09b84e4fdb42d0cd6fb20e60e7f3d079c595a53;hb=6f967f7891076abc09e12ce952f85825e7ee8caf;hp=9263d2db2d670f41d24a2c9ec707c6a98db09ee8;hpb=49302d0c42592b37f49ae96e0f06a3599cf5a8a0;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/mbcache.h b/include/linux/mbcache.h index 9263d2db2d6..a09b84e4fdb 100644 --- a/include/linux/mbcache.h +++ b/include/linux/mbcache.h @@ -22,7 +22,7 @@ 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 */ @@ -34,7 +34,7 @@ void mb_cache_destroy(struct mb_cache *); /* Functions on cache entries */ -struct mb_cache_entry *mb_cache_entry_alloc(struct mb_cache *); +struct mb_cache_entry *mb_cache_entry_alloc(struct mb_cache *, gfp_t); int mb_cache_entry_insert(struct mb_cache_entry *, struct block_device *, sector_t, unsigned int[]); void mb_cache_entry_release(struct mb_cache_entry *);