security: fix error return path in ima_inode_alloc
authorXiaotian Feng <dfeng@redhat.com>
Wed, 24 Feb 2010 10:39:02 +0000 (18:39 +0800)
committerJames Morris <jmorris@namei.org>
Wed, 24 Feb 2010 20:54:33 +0000 (07:54 +1100)
commitbaac35c4155a8aa826c70acee6553368ca5243a2
tree3a930979c48c83e4f07234ed05ef67caeb869bac
parent60b341b778cc2929df16c0a504c91621b3c6a4ad
security: fix error return path in ima_inode_alloc

If radix_tree_preload is failed in ima_inode_alloc, we don't need
radix_tree_preload_end because kernel is alread preempt enabled

Signed-off-by: Xiaotian Feng <dfeng@redhat.com>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/integrity/ima/ima_iint.c