ima: valid return code from ima_inode_alloc
authorEric Paris <eparis@redhat.com>
Fri, 4 Dec 2009 20:47:44 +0000 (15:47 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Dec 2009 17:16:46 +0000 (12:16 -0500)
commitec29ea544b1ce204ba3575ba05fccf3069d00c3f
tree9b8073563183059e275730a8bb4f5b0c01800b6e
parente81e3f4dca6c54116a24aec217d2c15c6f58ada5
ima: valid return code from ima_inode_alloc

ima_inode_alloc returns 0 and 1, but the LSM hooks expects an errno.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/integrity/ima/ima_iint.c