From: Trond Myklebust Date: Fri, 18 Dec 2009 21:28:12 +0000 (-0500) Subject: SUNRPC: Fix the return value in gss_import_sec_context() X-Git-Tag: v2.6.33-rc4~72^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b891e4a05ef6beac85465295a032431577c66b16;p=pandora-kernel.git SUNRPC: Fix the return value in gss_import_sec_context() If the context allocation fails, it will return GSS_S_FAILURE, which is neither a valid error code, nor is it even negative. Return ENOMEM instead... Reported-by: Jeff Layton Cc: stable@kernel.org Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed