]> git.karo-electronics.de Git - linux-beck.git/commit
evm: fix security/security_old_init_security return code
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Mon, 15 Aug 2011 14:13:18 +0000 (10:13 -0400)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 14 Sep 2011 19:24:50 +0000 (15:24 -0400)
commitfb88c2b6cbb1265a8bef60694699b37f5cd4ba76
treef747bf1f156c5537da77528a92a4e36eb342cb58
parent1d714057ef8f6348eba7b28ace6d307513e57cef
evm: fix security/security_old_init_security return code

security_inode_init_security previously returned -EOPNOTSUPP, for S_PRIVATE
inodes, and relied on the callers to change it to 0.  As the callers do not
change the return code anymore, return 0, intead of -EOPNOTSUPP.

Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
security/security.c