Re: [PATCH 15/24] block: remove blk_part_pack_uuid

From: Andy Shevchenko
Date: Wed May 31 2017 - 14:16:43 EST


On Wed, 2017-05-31 at 18:18 +0200, Christoph Hellwig wrote:
> This helper was only used by IMA of all things, which would get
> spurious
> errors if CONFIG_BLOCK is disabled.ÂÂJust opencode the call there.

> - result = blk_part_pack_uuid(args[0].from,
> - ÂÂÂÂentry->fsuuid);
> + result = uuid_to_bin(args[0].from, (uuid_t
> *)&entry->fsuuid);
>

uuid_parse() ?

--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy