]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Revert "unexport bio_{,un}map_user"
authorJens Axboe <jens.axboe@oracle.com>
Mon, 17 Mar 2008 20:14:40 +0000 (21:14 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 17 Mar 2008 20:14:40 +0000 (21:14 +0100)
Outside users like asmlib uses the mapping functions. API wise, the
export is definitely sane. It's a better idea to keep this export
than to require external users to open-code this piece of code instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/bio.c

index 3312fcc3c0986401511c1fc7c3948a6af6c69876..553b5b7960ad1a3f380f03afbf780f0867767972 100644 (file)
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -1194,6 +1194,8 @@ EXPORT_SYMBOL(bio_hw_segments);
 EXPORT_SYMBOL(bio_add_page);
 EXPORT_SYMBOL(bio_add_pc_page);
 EXPORT_SYMBOL(bio_get_nr_vecs);
+EXPORT_SYMBOL(bio_map_user);
+EXPORT_SYMBOL(bio_unmap_user);
 EXPORT_SYMBOL(bio_map_kern);
 EXPORT_SYMBOL(bio_pair_release);
 EXPORT_SYMBOL(bio_split);