Message ID | 1564566096-28756-5-git-send-email-hans@owltronix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | lnvm/pblk mapping cleanups | expand |
> On 31 Jul 2019, at 11.41, Hans Holmberg <hans@owltronix.com> wrote: > > Now that there no module users left of bio_map_kern, stop > exporting the symbol. > > Signed-off-by: Hans Holmberg <hans@owltronix.com> > --- > block/bio.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/block/bio.c b/block/bio.c > index 299a0e7651ec..96ca0b4e73bb 100644 > --- a/block/bio.c > +++ b/block/bio.c > @@ -1521,7 +1521,6 @@ struct bio *bio_map_kern(struct request_queue *q, void *data, unsigned int len, > bio->bi_end_io = bio_map_kern_endio; > return bio; > } > -EXPORT_SYMBOL(bio_map_kern); > > static void bio_copy_kern_endio(struct bio *bio) > { > -- > 2.7.4 Haven’t realized we were the only users at this point. Nice cleanup. Reviewed-by: Javier González <javier@javigon.com>
On Wed, Jul 31, 2019 at 11:41:36AM +0200, Hans Holmberg wrote: > Now that there no module users left of bio_map_kern, stop > exporting the symbol. > > Signed-off-by: Hans Holmberg <hans@owltronix.com> Looks good: Reviewed-by: Christoph Hellwig <hch@lst.de>
diff --git a/block/bio.c b/block/bio.c index 299a0e7651ec..96ca0b4e73bb 100644 --- a/block/bio.c +++ b/block/bio.c @@ -1521,7 +1521,6 @@ struct bio *bio_map_kern(struct request_queue *q, void *data, unsigned int len, bio->bi_end_io = bio_map_kern_endio; return bio; } -EXPORT_SYMBOL(bio_map_kern); static void bio_copy_kern_endio(struct bio *bio) {
Now that there no module users left of bio_map_kern, stop exporting the symbol. Signed-off-by: Hans Holmberg <hans@owltronix.com> --- block/bio.c | 1 - 1 file changed, 1 deletion(-)