summaryrefslogtreecommitdiff
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2017-04-12 13:24:27 +0300
committerJens Axboe <axboe@fb.com>2017-04-20 21:09:55 +0300
commit62bf42adc4f3d5f564d11c36f90dab31f0652d33 (patch)
tree974d8b9ac4081e221013046ff42d918cdaf71b8c /mm/backing-dev.c
parent5af110b2fb59eda9ba22ff1057f36bd96e340e09 (diff)
downloadlinux-62bf42adc4f3d5f564d11c36f90dab31f0652d33.tar.xz
bdi: Export bdi_alloc_node() and bdi_put()
MTD will want to call bdi_alloc_node() and bdi_put() directly. Export these functions. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'mm/backing-dev.c')
-rw-r--r--mm/backing-dev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c
index 164ccc93690f..3dd175986390 100644
--- a/mm/backing-dev.c
+++ b/mm/backing-dev.c
@@ -855,6 +855,7 @@ struct backing_dev_info *bdi_alloc_node(gfp_t gfp_mask, int node_id)
}
return bdi;
}
+EXPORT_SYMBOL(bdi_alloc_node);
int bdi_register_va(struct backing_dev_info *bdi, struct device *parent,
const char *fmt, va_list args)
@@ -971,6 +972,7 @@ void bdi_put(struct backing_dev_info *bdi)
{
kref_put(&bdi->refcnt, release_bdi);
}
+EXPORT_SYMBOL(bdi_put);
void bdi_destroy(struct backing_dev_info *bdi)
{