From: David Howells Date: Fri, 30 Apr 2010 13:32:34 +0000 (+0100) Subject: KEYS: Better handling of errors from construct_alloc_key() X-Git-Tag: v2.6.35-rc1~488^2^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b9e4688fad8867b6e918610f396af3ab9246898;p=pandora-kernel.git KEYS: Better handling of errors from construct_alloc_key() Errors from construct_alloc_key() shouldn't just be ignored in the way they are by construct_key_and_link(). The only error that can be ignored so is EINPROGRESS as that is used to indicate that we've found a key and don't need to construct one. We don't, however, handle ENOMEM, EDQUOT or EACCES to indicate allocation failures of one sort or another. Reported-by: Vegard Nossum Signed-off-by: David Howells Signed-off-by: James Morris --- Reading git-diff-tree failed