evm: fix build problems
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Mon, 15 Aug 2011 13:09:16 +0000 (09:09 -0400)
committerJames Morris <jmorris@namei.org>
Mon, 15 Aug 2011 23:23:44 +0000 (09:23 +1000)
commit1e39f384bb01b0395b69cb70c2cacae65012f203
treed80fa4881dd94a198a6a8c34212e04187dc136ab
parent7d8db1808a2001077a9f966180c5e4f7cc20d4c7
evm: fix build problems

- Make the previously missing security_old_inode_init_security() stub
  function definition static inline.

- The stub security_inode_init_security() function previously returned
  -EOPNOTSUPP and relied on the callers to change it to 0.  The stub
  security/security_old_inode_init_security() functions now return 0.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/security.h