From: Jeff Layton Date: Thu, 7 Jan 2010 14:42:02 +0000 (-0500) Subject: sunrpc: parse and return errors reported by gssd X-Git-Tag: v2.6.34-rc1~190^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc5ddce956660247e004a4b20a26b7d137ab1644;p=pandora-kernel.git sunrpc: parse and return errors reported by gssd The kernel currently ignores any error code sent by gssd and always considers it to be -EACCES. In order to better handle the situation of an expired KRB5 TGT, the kernel needs to be able to parse and deal with the errors that gssd sends. Aside from -EACCES the only error we care about is -EKEYEXPIRED, which we're using to indicate that the upper layers should retry the call a little later. To maintain backward compatibility with older gssd's, any error other than -EKEYEXPIRED is interpreted as -EACCES. Signed-off-by: Jeff Layton Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed