diff options
author | David Howells <dhowells@redhat.com> | 2008-04-29 10:01:34 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 17:06:17 +0200 |
commit | 7249db2c281ac688977ecc6862cdee9969d310e2 (patch) | |
tree | 7d0c42af5c2cb3724fd18aa3aff8de3c827bfe77 /fs | |
parent | keys: explicitly include required slab.h header file. (diff) | |
download | linux-7249db2c281ac688977ecc6862cdee9969d310e2.tar.xz linux-7249db2c281ac688977ecc6862cdee9969d310e2.zip |
keys: make key_serial() a function if CONFIG_KEYS=y
Make key_serial() an inline function rather than a macro if CONFIG_KEYS=y.
This prevents double evaluation of the key pointer and also provides better
type checking.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions