]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
AFS: Correctly translate auth error aborts and don't failover in such cases
authorDavid Howells <dhowells@redhat.com>
Tue, 16 Jun 2009 20:36:49 +0000 (21:36 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 04:20:14 +0000 (21:20 -0700)
commit005411c3e9147bc3b78215390e847d688dbbc163
treeed10cb7c73135fbdf7a39798bb0f294e80f987a4
parent519d25679e8ae7433c758b9e74b19144f61b90f8
AFS: Correctly translate auth error aborts and don't failover in such cases

Authentication error abort codes should be translated to appropriate
Linux error codes, rather than all being translated to EREMOTEIO - which
indicates that the server had internal problems.

Additionally, a server shouldn't be marked unavailable and the next
server tried if an authentication error occurs.  This will quickly make
all the servers unavailable to the client.  Instead the error should be
returned straight to the user.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/afs/misc.c
fs/afs/vlocation.c