lkml.org 
[lkml]   [2003]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: rootfs on nfs : oops 2.5.63
    Emmett Pate <emmett@epate.com> wrote:
    >
    > I'm having the same problem.
    >
    > On my notebook (wireless PCMCIA, D-Link DWL650), 2.5.63 oopses immediately on
    > trying to mount an NFS filesystem.

    Trond quietly sent out the below patch a while back. Could you please see if
    this fixes things up?


    --- 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;
    _

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:33    [W:0.028 / U:0.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site