Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177403
b: refs/heads/master
c: ec29ea5
h: refs/heads/master
i:
  177401: 49ee866
  177399: 9f3a5b3
v: v3
  • Loading branch information
Eric Paris authored and Al Viro committed Dec 16, 2009
1 parent bfc74ec commit 60add8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e81e3f4dca6c54116a24aec217d2c15c6f58ada5
refs/heads/master: ec29ea544b1ce204ba3575ba05fccf3069d00c3f
4 changes: 1 addition & 3 deletions trunk/security/integrity/ima/ima_iint.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ struct ima_iint_cache *ima_iint_insert(struct inode *inode)
/**
* ima_inode_alloc - allocate an iint associated with an inode
* @inode: pointer to the inode
*
* Return 0 on success, 1 on failure.
*/
int ima_inode_alloc(struct inode *inode)
{
Expand All @@ -99,7 +97,7 @@ int ima_inode_alloc(struct inode *inode)

iint = ima_iint_insert(inode);
if (!iint)
return 1;
return -ENOMEM;
return 0;
}

Expand Down

0 comments on commit 60add8c

Please sign in to comment.