block: remove blk_part_pack_uuid
authorChristoph Hellwig <hch@lst.de>
Wed, 10 May 2017 13:16:44 +0000 (15:16 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 5 Jun 2017 14:59:10 +0000 (16:59 +0200)
commit1dd771eb0b09fe9c12ea58b18c676b32a528be39
tree3ecf6db352ea013e300645c63b75f3c6c9a5ba44
parentd905fdaaa7d59abde1535075cca6774fd7f0ef0a
block: remove blk_part_pack_uuid

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.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Acked-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
include/linux/genhd.h
security/integrity/ima/ima_policy.c