summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-03-09 10:50:27 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2007-03-09 10:50:27 -0800
commitd50ff202a754e2c37979fefefc5df0f1bb898623 (patch)
treeef76afa98397671fc257372f45a168c093c7f66f /block
parent9b1e918ac5dfc73493a2253731ab84a7f907c5be (diff)
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: Neil Brown <neilb@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'block')
-rw-r--r--block/ll_rw_blk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
index fb6789725e1b..38c293b987b7 100644
--- a/block/ll_rw_blk.c
+++ b/block/ll_rw_blk.c
@@ -1264,7 +1264,7 @@ new_hw_segment:
bio->bi_hw_segments = nr_hw_segs;
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,
struct bio *nxt)