Loading fs/nfs/nfs4client.c +14 −17 Original line number Diff line number Diff line Loading @@ -241,16 +241,13 @@ void nfs4_free_client(struct nfs_client *clp) */ static int nfs4_init_callback(struct nfs_client *clp) { int error; if (clp->rpc_ops->version == 4) { struct rpc_xprt *xprt; int error; xprt = rcu_dereference_raw(clp->cl_rpcclient->cl_xprt); if (nfs4_has_session(clp)) { error = xprt_setup_backchannel(xprt, NFS41_BC_MIN_CALLBACKS); error = xprt_setup_backchannel(xprt, NFS41_BC_MIN_CALLBACKS); if (error < 0) return error; } Loading @@ -262,7 +259,7 @@ static int nfs4_init_callback(struct nfs_client *clp) return error; } __set_bit(NFS_CS_CALLBACK, &clp->cl_res_state); } return 0; } Loading Loading
fs/nfs/nfs4client.c +14 −17 Original line number Diff line number Diff line Loading @@ -241,16 +241,13 @@ void nfs4_free_client(struct nfs_client *clp) */ static int nfs4_init_callback(struct nfs_client *clp) { int error; if (clp->rpc_ops->version == 4) { struct rpc_xprt *xprt; int error; xprt = rcu_dereference_raw(clp->cl_rpcclient->cl_xprt); if (nfs4_has_session(clp)) { error = xprt_setup_backchannel(xprt, NFS41_BC_MIN_CALLBACKS); error = xprt_setup_backchannel(xprt, NFS41_BC_MIN_CALLBACKS); if (error < 0) return error; } Loading @@ -262,7 +259,7 @@ static int nfs4_init_callback(struct nfs_client *clp) return error; } __set_bit(NFS_CS_CALLBACK, &clp->cl_res_state); } return 0; } Loading