diff options
| -rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 81343944e096..f462dd884385 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
| @@ -2506,7 +2506,7 @@ static int nfs4_lookup_root_sec(struct nfs_server *server, struct nfs_fh *fhandl | |||
| 2506 | 2506 | ||
| 2507 | auth = rpcauth_create(flavor, server->client); | 2507 | auth = rpcauth_create(flavor, server->client); |
| 2508 | if (IS_ERR(auth)) { | 2508 | if (IS_ERR(auth)) { |
| 2509 | ret = -EIO; | 2509 | ret = -EACCES; |
| 2510 | goto out; | 2510 | goto out; |
| 2511 | } | 2511 | } |
| 2512 | ret = nfs4_lookup_root(server, fhandle, info); | 2512 | ret = nfs4_lookup_root(server, fhandle, info); |
