git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfsd: permit unauthenticated stat of export root
[safe/jmp/linux-2.6]
/
include
/
linux
/
key.h
diff --git
a/include/linux/key.h
b/include/linux/key.h
index
ad02d9c
..
c45c962
100644
(file)
--- a/
include/linux/key.h
+++ b/
include/linux/key.h
@@
-264,7
+264,10
@@
extern int keyring_add_key(struct key *keyring,
extern struct key *key_lookup(key_serial_t id);
-#define key_serial(key) ((key) ? (key)->serial : 0)
+static inline key_serial_t key_serial(struct key *key)
+{
+ return key ? key->serial : 0;
+}
#ifdef CONFIG_SYSCTL
extern ctl_table key_sysctls[];