Definition conflict in 2.4.19-pre?? code

From: Roger W. Brown (bregor@anusf.anu.edu.au)
Date: Wed Jun 05 2002 - 02:36:45 EST


  Hi,

      I am not able to compile 2.4 series kernels after
  linux-2.4.19-pre1 and I don't understand how others can !

  Consider the "struct request_queue" definition in blkdev.h

  In the 2.4.19-pre1 version, the last few lines read:
        /*
         * Tasks wait here for free read and write requests
         */
        wait_queue_head_t wait_for_requests[2];
  };
  and for later versions this is changed to:
        /*
         * Tasks wait here for free request
         */
        wait_queue_head_t wait_for_request;
  };

  yet drivers/block/ll_rw_blk.c still makes references to
  wait_for_requests[?] in the void blk_init_free_list()
  and blkdev_release_request() functions and elsewhere.

  Roger

-- 
-
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/



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:23 EST