]> git.karo-electronics.de Git - linux-beck.git/commit
NFS: Improve legacy idmapping fallback
authorBryan Schumaker <bjschuma@netapp.com>
Wed, 26 Jun 2013 18:09:46 +0000 (14:09 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Jun 2013 19:22:07 +0000 (15:22 -0400)
commitffa57b9e53cf7ace3e63e5fa9f91ffb31e0aacf6
treefc9926517403579db4e527d52f3d8ac45934e1fc
parent62f288a02f97bd9f6b2361a6fff709729fe9e110
NFS: Improve legacy idmapping fallback

Fallback should happen only when the request_key() call fails, because
this indicates that there was a problem running the nfsidmap program.
We shouldn't call the legacy code if the error was elsewhere.

Signed-off-by: Bryan Schumaker <bjschuma@netappp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/idmap.c