Whamcloud - gitweb
Missed one...
authoradilger <adilger>
Wed, 24 Jul 2002 19:04:47 +0000 (19:04 +0000)
committeradilger <adilger>
Wed, 24 Jul 2002 19:04:47 +0000 (19:04 +0000)
lustre/ptlrpc/client.c

index 7db2690..35ef237 100644 (file)
@@ -93,7 +93,7 @@ struct ptlrpc_bulk_desc *ptlrpc_prep_bulk(struct ptlrpc_connection *conn)
 
         OBD_ALLOC(desc, sizeof(*desc));
         if (desc != NULL) {
-                bulk->b_connection = ptlrpc_connection_addref(conn);
+                desc->b_connection = ptlrpc_connection_addref(conn);
                 atomic_set(&desc->b_pages_remaining, 0);
                 atomic_set(&desc->b_refcount, 1);
                 init_waitqueue_head(&desc->b_waitq);