projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
058ad9c
)
Fix a referral error Oops
author
andros@citi.umich.edu
<andros@citi.umich.edu>
Tue, 29 Aug 2006 16:19:41 +0000
(12:19 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 23 Sep 2006 03:24:56 +0000
(23:24 -0400)
Fix an oops when the referral server is not responding.
Check the error return from nfs4_set_client() in nfs4_create_referral_server.
Signed-off-by: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/client.c
b/fs/nfs/client.c
index a4aa47913a5c95619a8095dff19e5f571201ac13..110f80e7bd4cebb5763378c64e1110213ea1defc 100644
(file)
--- a/
fs/nfs/client.c
+++ b/
fs/nfs/client.c
@@
-1059,6
+1059,8
@@
struct nfs_server *nfs4_create_referral_server(struct nfs_clone_mount *data,
parent_server->client->cl_xprt->prot,
parent_client->retrans_timeo,
parent_client->retrans_count);
+ if (error < 0)
+ goto error;
/* Initialise the client representation from the parent server */
nfs_server_copy_userdata(server, parent_server);