]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/zbud.h
ext4, jbd2: ensure entering into panic after recording an error in superblock
[karo-tx-linux.git] / include / linux / zbud.h
index f9d41a6e361f42f79a20bfd0c5b2f4579d61dcac..e183a0a65ac1cb176f60a4131cf5bf0419c3608b 100644 (file)
@@ -9,7 +9,7 @@ struct zbud_ops {
        int (*evict)(struct zbud_pool *pool, unsigned long handle);
 };
 
-struct zbud_pool *zbud_create_pool(gfp_t gfp, struct zbud_ops *ops);
+struct zbud_pool *zbud_create_pool(gfp_t gfp, const struct zbud_ops *ops);
 void zbud_destroy_pool(struct zbud_pool *pool);
 int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp,
        unsigned long *handle);