From: Andrew Morton Cc: Neil Brown Cc: Jens Axboe Cc: Signed-off-by: Andrew Morton --- block/ll_rw_blk.c | 6 +++--- include/linux/sched.h | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff -puN block/ll_rw_blk.c~md-dm-reduce-stack-usage-with-stacked-block-devices-fixes block/ll_rw_blk.c --- devel/block/ll_rw_blk.c~md-dm-reduce-stack-usage-with-stacked-block-devices-fixes 2005-11-22 22:31:14.000000000 -0800 +++ devel-akpm/block/ll_rw_blk.c 2005-11-22 22:31:14.000000000 -0800 @@ -2957,7 +2957,7 @@ void generic_make_request(struct bio *bi return; } /* following loop may be a bit non-obvious, and so deserves some - * explantion. + * explanation. * Before entering the loop, bio->bi_next is NULL (as all callers * ensure that) so we have a list with a single bio. * We pretend that we have just taken it off a longer list, so @@ -2971,8 +2971,8 @@ void generic_make_request(struct bio *bi * bio_tail or bi_next, and call into __generic_make_request again. * * The loop was structured like this to make only one call to - * __generic_make_request (which is important as it is large and inlined) - * and to keep the structure simple. + * __generic_make_request (which is important as it is large and + * inlined) and to keep the structure simple. */ BUG_ON(bio->bi_next); do { diff -puN include/linux/sched.h~md-dm-reduce-stack-usage-with-stacked-block-devices-fixes include/linux/sched.h --- devel/include/linux/sched.h~md-dm-reduce-stack-usage-with-stacked-block-devices-fixes 2005-11-22 22:31:14.000000000 -0800 +++ devel-akpm/include/linux/sched.h 2005-11-22 22:31:14.000000000 -0800 @@ -39,6 +39,7 @@ #include /* For AT_VECTOR_SIZE */ struct exec_domain; +struct bio; /* * cloning flags: _