Files
linux/security/integrity
Mimi Zohar 446d64e3e1 block: fix part_pack_uuid() build error
Commit "85865c1 ima: add policy support for file system uuid"
introduced a CONFIG_BLOCK dependency.  This patch defines a
wrapper called blk_part_pack_uuid(), which returns -EINVAL,
when CONFIG_BLOCK is not defined.

security/integrity/ima/ima_policy.c:538:4: error: implicit declaration
of function 'part_pack_uuid' [-Werror=implicit-function-declaration]

Changelog v2:
- Reference commit number in patch description
Changelog v1:
- rename ima_part_pack_uuid() to blk_part_pack_uuid()
- resolve scripts/checkpatch.pl warnings
Changelog v0:
- fix UUID scripts/Lindent msgs

Reported-by: Randy Dunlap <[email protected]>
Reported-by: David Rientjes <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Acked-by: David Rientjes <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: James Morris <[email protected]>
2013-02-26 03:10:52 +11:00
..