diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-01-07 09:42:02 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-02-10 08:30:50 -0500 |
commit | dc5ddce956660247e004a4b20a26b7d137ab1644 (patch) | |
tree | 8e067bfb6f1fc84adf76a9370e35fbad77dd4636 /fs/nfs | |
parent | ac73fddfc523bf3c3525d16356b44527c44fae6d (diff) | |
download | linux-dc5ddce956660247e004a4b20a26b7d137ab1644.tar.bz2 |
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 <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions