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

From: Christoph Hellwig
Date: Wed May 31 2017 - 15:39:54 EST


On Wed, May 31, 2017 at 09:16:34PM +0300, Andy Shevchenko wrote:
> 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() ?

Yes. I fixed this up, but it seems like I didn't squash it into
the right patch..