Patch from Trond Myklebust net/sunrpc/clnt.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN net/sunrpc/clnt.c~rpc_rmdir-fix net/sunrpc/clnt.c --- 25/net/sunrpc/clnt.c~rpc_rmdir-fix Mon Feb 24 15:47:53 2003 +++ 25-akpm/net/sunrpc/clnt.c Mon Feb 24 15:47:53 2003 @@ -208,7 +208,8 @@ rpc_destroy_client(struct rpc_clnt *clnt 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; _