diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-10 15:16:44 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-05 16:59:10 +0200 |
commit | 1dd771eb0b09fe9c12ea58b18c676b32a528be39 (patch) | |
tree | 3ecf6db352ea013e300645c63b75f3c6c9a5ba44 /security/integrity | |
parent | d905fdaaa7d59abde1535075cca6774fd7f0ef0a (diff) | |
download | op-kernel-dev-1dd771eb0b09fe9c12ea58b18c676b32a528be39.zip op-kernel-dev-1dd771eb0b09fe9c12ea58b18c676b32a528be39.tar.gz |
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>
Diffstat (limited to 'security/integrity')
-rw-r--r-- | security/integrity/ima/ima_policy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/security/integrity/ima/ima_policy.c b/security/integrity/ima/ima_policy.c index 3ab1067..1431ada 100644 --- a/security/integrity/ima/ima_policy.c +++ b/security/integrity/ima/ima_policy.c @@ -717,8 +717,7 @@ static int ima_parse_rule(char *rule, struct ima_rule_entry *entry) break; } - result = blk_part_pack_uuid(args[0].from, - entry->fsuuid); + result = uuid_parse(args[0].from, (uuid_t *)&entry->fsuuid); if (!result) entry->flags |= IMA_FSUUID; break; |