diff --git a/lib/metadata/metadata.c b/lib/metadata/metadata.c index 5981b305c..22d2dcf60 100644 --- a/lib/metadata/metadata.c +++ b/lib/metadata/metadata.c @@ -12,7 +12,7 @@ #include -struct physical_volume *pv_create(const char *name, struct io_space *ios) +struct physical_volume *pv_create(struct io_space *ios, const char *name) { struct physical_volume *pv = pool_alloc(ios->mem, sizeof(*pv)); diff --git a/lib/metadata/metadata.h b/lib/metadata/metadata.h index 9ecf5515a..0085c8468 100644 --- a/lib/metadata/metadata.h +++ b/lib/metadata/metadata.h @@ -193,7 +193,7 @@ struct io_space { /* * Utility functions */ -struct physical_volume *pv_create(const char *name, struct io_space *ios); +struct physical_volume *pv_create(struct io_space *ios, const char *name);