[dm-devel] [PATCH 2/5] libmultipath: turn pp->vpd_data into a pointer

Martin Wilck mwilck at suse.com
Wed Feb 19 09:31:44 UTC 2020


On Wed, 2020-02-19 at 00:54 -0600, Benjamin Marzinski wrote:
> Instead of always allocating space in the path structure for
> vpd_data,
> only allocte it when necessary.
> 
> Also, fix comments on vpd tests
> 
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
> ---
>  libmultipath/discovery.c | 17 +++++++++++++++--
>  libmultipath/print.c     |  4 ++--
>  libmultipath/structs.c   |  3 +++
>  libmultipath/structs.h   |  2 +-
>  tests/vpd.c              |  3 ++-
>  5 files changed, 23 insertions(+), 6 deletions(-)

Reviewed-by: Martin Wilck <mwilck at suse.com>






More information about the dm-devel mailing list