]> git.baikalelectronics.ru Git - kernel.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)
commit4334b1da603a82fa0f26a501c7ddc124451df2a3
treefc9926517403579db4e527d52f3d8ac45934e1fc
parent6195dc18a707887e12b9235ef263e5e9651cda45
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