evm: fix evm_inode_init_security return code
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 11 Aug 2011 04:22:52 +0000 (00:22 -0400)
committerJames Morris <jmorris@namei.org>
Thu, 11 Aug 2011 07:42:41 +0000 (17:42 +1000)
commit5a4730ba9517cf2793175991243436a24b1db18f
tree2c9c26d4662a31c851aed525d4d032d08e54e297
parente1c9b23adbe86c725738402857397d7a29f9d6ef
evm: fix evm_inode_init_security return code

evm_inode_init_security() should return 0, when EVM is not enabled.
(Returning an error is a remnant of evm_inode_post_init_security.)

Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/evm.h
security/integrity/evm/evm_main.c