Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157316
b: refs/heads/master
c: 1c388ad
h: refs/heads/master
v: v3
  • Loading branch information
Paul Menage authored and James Morris committed Jul 19, 2009
1 parent d4f50e1 commit 66c63a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 967cc5371113f9806b39a2ebb2174af2883d96fe
refs/heads/master: 1c388ad054fb1ead3dc354b1719570b99e464135
3 changes: 2 additions & 1 deletion trunk/include/linux/cred.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ static inline struct cred *get_new_cred(struct cred *cred)
*/
static inline const struct cred *get_cred(const struct cred *cred)
{
return get_new_cred((struct cred *) cred);
struct cred *nonconst_cred = (struct cred *) cred;
return get_new_cred(nonconst_cred);
}

/**
Expand Down

0 comments on commit 66c63a1

Please sign in to comment.