From: Serge E. Hallyn Date: Wed, 2 Sep 2009 08:14:05 +0000 (+0100) Subject: KEYS: Make /proc/keys use keyid not numread as file position [try #6] X-Git-Tag: v2.6.32-rc1~737^2^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad73a717e0fc6949c44e587ca5d63c273a30e6f5;p=pandora-kernel.git 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 Signed-off-by: David Howells Signed-off-by: James Morris --- Reading git-diff-tree failed