]> git.baikalelectronics.ru Git - 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)
commit84175a3202c80e4c4d306a5baf02bb7cbc8a6bd1
treeed10cb7c73135fbdf7a39798bb0f294e80f987a4
parent6c15412c9c6e8bb63937e1b58b27678c4f10f4d5
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