From: adilger Date: Thu, 6 Jun 2002 21:31:39 +0000 (+0000) Subject: Rename "bulk" to "desc" to avoid confusion with the local "bulk" variable. X-Git-Tag: 0.4.2~194 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=e2e1270796fa61ecc941edb31d726c6d68379d8e;p=fs%2Flustre-release.git Rename "bulk" to "desc" to avoid confusion with the local "bulk" variable. --- diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index a029eed..71de31f 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -112,24 +112,24 @@ struct ptlrpc_bulk_page *ptlrpc_prep_bulk_page(struct ptlrpc_bulk_desc *desc) return bulk; } -void ptlrpc_free_bulk(struct ptlrpc_bulk_desc *bulk) +void ptlrpc_free_bulk(struct ptlrpc_bulk_desc *desc) { struct list_head *tmp, *next; ENTRY; - if (bulk == NULL) { + if (desc == NULL) { EXIT; return; } - list_for_each_safe(tmp, next, &bulk->b_page_list) { + list_for_each_safe(tmp, next, &desc->b_page_list) { struct ptlrpc_bulk_page *bulk; bulk = list_entry(tmp, struct ptlrpc_bulk_page, b_link); ptlrpc_free_bulk_page(bulk); } - ptlrpc_put_connection(bulk->b_connection); + ptlrpc_put_connection(desc->b_connection); - OBD_FREE(bulk, sizeof(*bulk)); + OBD_FREE(desc, sizeof(*desc)); EXIT; } @@ -526,7 +526,7 @@ int ptlrpc_replay_req(struct ptlrpc_request *req) ENTRY; init_waitqueue_head(&req->rq_wait_for_rep); - CERROR("req %Ld opc %d level %d, conn level %d\n", + CDEBUG(D_NET, "req %Ld opc %d level %d, conn level %d\n", req->rq_xid, req->rq_reqmsg->opc, req->rq_level, req->rq_connection->c_level);