Commit d50ff202 authored by Neil Brown's avatar Neil Brown Committed by Greg Kroah-Hartman

export blk_recount_segments

On Monday February 12, marcm@liquid-nexus.net wrote:
> > 
> > Thanks for the quick response Neil unfortunately the kernel doesn't build with
> > this patch due to a missing symbol:
> > 
> > WARNING: "blk_recount_segments" [drivers/md/raid456.ko] undefined!
> > 
> > Is that in another file that needs patching or within raid5.c?

Yes.  I keep forgetting about that bit. Sorry.
Signed-off-by: default avatarNeil Brown <neilb@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 9b1e918a
...@@ -1264,7 +1264,7 @@ void blk_recount_segments(request_queue_t *q, struct bio *bio) ...@@ -1264,7 +1264,7 @@ void blk_recount_segments(request_queue_t *q, struct bio *bio)
bio->bi_hw_segments = nr_hw_segs; bio->bi_hw_segments = nr_hw_segs;
bio->bi_flags |= (1 << BIO_SEG_VALID); bio->bi_flags |= (1 << BIO_SEG_VALID);
} }
EXPORT_SYMBOL(blk_recount_segments);
static int blk_phys_contig_segment(request_queue_t *q, struct bio *bio, static int blk_phys_contig_segment(request_queue_t *q, struct bio *bio,
struct bio *nxt) struct bio *nxt)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment