From: J. Bruce Fields Date: Wed, 22 Jun 2005 17:16:23 +0000 (+0000) Subject: [PATCH] RPC: [PATCH] improve rpcauthauth_create error returns X-Git-Tag: v2.6.13-rc4~130^2~157^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a19275ada9137435da58990c8f8d3f58e170bf1;p=pandora-kernel.git [PATCH] RPC: [PATCH] improve rpcauthauth_create error returns Currently we return -ENOMEM for every single failure to create a new auth. This is actually accurate for auth_null and auth_unix, but for auth_gss it's a bit confusing. Allow rpcauth_create (and the ->create methods) to return errors. With this patch, the user may sometimes see an EINVAL instead. Whee. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed