]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - mm/zbud.c
mm: zpool: constify the zpool_ops
[mirror_ubuntu-artful-kernel.git] / mm / zbud.c
index f3bf6f7627d8d103bb674a99ed504092f15499a9..6f8158d6486484a26436853604d2e43489ef98de 100644 (file)
--- a/mm/zbud.c
+++ b/mm/zbud.c
@@ -99,7 +99,7 @@ struct zbud_pool {
        struct zbud_ops *ops;
 #ifdef CONFIG_ZPOOL
        struct zpool *zpool;
-       struct zpool_ops *zpool_ops;
+       const struct zpool_ops *zpool_ops;
 #endif
 };
 
@@ -138,7 +138,7 @@ static struct zbud_ops zbud_zpool_ops = {
 };
 
 static void *zbud_zpool_create(char *name, gfp_t gfp,
-                              struct zpool_ops *zpool_ops,
+                              const struct zpool_ops *zpool_ops,
                               struct zpool *zpool)
 {
        struct zbud_pool *pool;