Update of /cvsroot/linux-vax/kernel-2.5/net/sunrpc
In directory sc8-pr-cvs1:/tmp/cvs-serv12842/net/sunrpc
Modified Files:
clnt.c
Log Message:
This fixes a problem where 2.5.63 crashes in rpc_depopulate during
NFS root mounting. This fix will appear in the official kernel in
2.5.65.
Index: clnt.c
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/net/sunrpc/clnt.c,v
retrieving revision 1.1.1.17
retrieving revision 1.2
diff -u -r1.1.1.17 -r1.2
--- clnt.c 19 Aug 2003 12:39:12 -0000 1.1.1.17
+++ clnt.c 23 Aug 2003 00:16:22 -0000 1.2
@@ -208,7 +208,8 @@
rpcauth_destroy(clnt->cl_auth);
clnt->cl_auth = NULL;
}
- rpc_rmdir(clnt->cl_pathname);
+ if (clnt->cl_pathname[0])
+ rpc_rmdir(clnt->cl_pathname);
if (clnt->cl_xprt) {
xprt_destroy(clnt->cl_xprt);
clnt->cl_xprt = NULL;
|