diff options
Diffstat (limited to 'include/linux/zpool.h')
-rw-r--r-- | include/linux/zpool.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/zpool.h b/include/linux/zpool.h index f14bd75f08b3..56529b34dc63 100644 --- a/include/linux/zpool.h +++ b/include/linux/zpool.h | |||
@@ -36,7 +36,8 @@ enum zpool_mapmode { | |||
36 | ZPOOL_MM_DEFAULT = ZPOOL_MM_RW | 36 | ZPOOL_MM_DEFAULT = ZPOOL_MM_RW |
37 | }; | 37 | }; |
38 | 38 | ||
39 | struct zpool *zpool_create_pool(char *type, gfp_t gfp, struct zpool_ops *ops); | 39 | struct zpool *zpool_create_pool(char *type, char *name, |
40 | gfp_t gfp, struct zpool_ops *ops); | ||
40 | 41 | ||
41 | char *zpool_get_type(struct zpool *pool); | 42 | char *zpool_get_type(struct zpool *pool); |
42 | 43 | ||
@@ -80,7 +81,7 @@ struct zpool_driver { | |||
80 | atomic_t refcount; | 81 | atomic_t refcount; |
81 | struct list_head list; | 82 | struct list_head list; |
82 | 83 | ||
83 | void *(*create)(gfp_t gfp, struct zpool_ops *ops); | 84 | void *(*create)(char *name, gfp_t gfp, struct zpool_ops *ops); |
84 | void (*destroy)(void *pool); | 85 | void (*destroy)(void *pool); |
85 | 86 | ||
86 | int (*malloc)(void *pool, size_t size, gfp_t gfp, | 87 | int (*malloc)(void *pool, size_t size, gfp_t gfp, |