X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Flinux%2Fmbcache.h;h=a09b84e4fdb42d0cd6fb20e60e7f3d079c595a53;hb=27951daa71f1c91300ae4de9441916d1ffe2b078;hp=9263d2db2d670f41d24a2c9ec707c6a98db09ee8;hpb=2f058256cb64e346f4fb4499ff4e0f1c2791a4b4;p=cascardo%2Flinux.git diff --git a/include/linux/mbcache.h b/include/linux/mbcache.h index 9263d2db2d67..a09b84e4fdb4 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 *);