diff options
author | Serge E. Hallyn <serue@us.ibm.com> | 2009-09-02 09:14:05 +0100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-09-02 21:29:14 +1000 |
commit | ad73a717e0fc6949c44e587ca5d63c273a30e6f5 (patch) | |
tree | 28aa8de2eb924a60713abd01bbc790879da5b70c /include/linux | |
parent | 5d135440faf7db8d566de0c6fab36b16cf9cfc3b (diff) | |
download | kernel-crypto-ad73a717e0fc6949c44e587ca5d63c273a30e6f5.tar.gz kernel-crypto-ad73a717e0fc6949c44e587ca5d63c273a30e6f5.tar.xz kernel-crypto-ad73a717e0fc6949c44e587ca5d63c273a30e6f5.zip |
KEYS: Make /proc/keys use keyid not numread as file position [try #6]
Make the file position maintained by /proc/keys represent the ID of the key
just read rather than the number of keys read. This should make it faster to
perform a lookup as we don't have to scan the key ID tree from the beginning to
find the current position.
Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions