Commit b6676f65 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

block: remove a few unused exports

Reviewed-by: default avatarHannes Reinecke <hare@suse.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9809b4ee
...@@ -424,7 +424,6 @@ const char *blkg_dev_name(struct blkcg_gq *blkg) ...@@ -424,7 +424,6 @@ const char *blkg_dev_name(struct blkcg_gq *blkg)
return dev_name(blkg->q->backing_dev_info->dev); return dev_name(blkg->q->backing_dev_info->dev);
return NULL; return NULL;
} }
EXPORT_SYMBOL_GPL(blkg_dev_name);
/** /**
* blkcg_print_blkgs - helper for printing per-blkg data * blkcg_print_blkgs - helper for printing per-blkg data
...@@ -860,7 +859,6 @@ int blkg_conf_prep(struct blkcg *blkcg, const struct blkcg_policy *pol, ...@@ -860,7 +859,6 @@ int blkg_conf_prep(struct blkcg *blkcg, const struct blkcg_policy *pol,
} }
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(blkg_conf_prep);
/** /**
* blkg_conf_finish - finish up per-blkg config update * blkg_conf_finish - finish up per-blkg config update
...@@ -876,7 +874,6 @@ void blkg_conf_finish(struct blkg_conf_ctx *ctx) ...@@ -876,7 +874,6 @@ void blkg_conf_finish(struct blkg_conf_ctx *ctx)
rcu_read_unlock(); rcu_read_unlock();
put_disk_and_module(ctx->disk); put_disk_and_module(ctx->disk);
} }
EXPORT_SYMBOL_GPL(blkg_conf_finish);
static int blkcg_print_stat(struct seq_file *sf, void *v) static int blkcg_print_stat(struct seq_file *sf, void *v)
{ {
...@@ -1691,7 +1688,6 @@ void blkcg_maybe_throttle_current(void) ...@@ -1691,7 +1688,6 @@ void blkcg_maybe_throttle_current(void)
rcu_read_unlock(); rcu_read_unlock();
blk_put_queue(q); blk_put_queue(q);
} }
EXPORT_SYMBOL_GPL(blkcg_maybe_throttle_current);
/** /**
* blkcg_schedule_throttle - this task needs to check for throttling * blkcg_schedule_throttle - this task needs to check for throttling
...@@ -1725,7 +1721,6 @@ void blkcg_schedule_throttle(struct request_queue *q, bool use_memdelay) ...@@ -1725,7 +1721,6 @@ void blkcg_schedule_throttle(struct request_queue *q, bool use_memdelay)
current->use_memdelay = use_memdelay; current->use_memdelay = use_memdelay;
set_notify_resume(current); set_notify_resume(current);
} }
EXPORT_SYMBOL_GPL(blkcg_schedule_throttle);
/** /**
* blkcg_add_delay - add delay to this blkg * blkcg_add_delay - add delay to this blkg
...@@ -1740,7 +1735,6 @@ void blkcg_add_delay(struct blkcg_gq *blkg, u64 now, u64 delta) ...@@ -1740,7 +1735,6 @@ void blkcg_add_delay(struct blkcg_gq *blkg, u64 now, u64 delta)
blkcg_scale_delay(blkg, now); blkcg_scale_delay(blkg, now);
atomic64_add(delta, &blkg->delay_nsec); atomic64_add(delta, &blkg->delay_nsec);
} }
EXPORT_SYMBOL_GPL(blkcg_add_delay);
module_param(blkcg_debug_stats, bool, 0644); module_param(blkcg_debug_stats, bool, 0644);
MODULE_PARM_DESC(blkcg_debug_stats, "True if you want debug stats, false if not"); MODULE_PARM_DESC(blkcg_debug_stats, "True if you want debug stats, false if not");
...@@ -28,7 +28,6 @@ void get_io_context(struct io_context *ioc) ...@@ -28,7 +28,6 @@ void get_io_context(struct io_context *ioc)
BUG_ON(atomic_long_read(&ioc->refcount) <= 0); BUG_ON(atomic_long_read(&ioc->refcount) <= 0);
atomic_long_inc(&ioc->refcount); atomic_long_inc(&ioc->refcount);
} }
EXPORT_SYMBOL(get_io_context);
static void icq_free_icq_rcu(struct rcu_head *head) static void icq_free_icq_rcu(struct rcu_head *head)
{ {
...@@ -160,7 +159,6 @@ void put_io_context(struct io_context *ioc) ...@@ -160,7 +159,6 @@ void put_io_context(struct io_context *ioc)
if (free_ioc) if (free_ioc)
kmem_cache_free(iocontext_cachep, ioc); kmem_cache_free(iocontext_cachep, ioc);
} }
EXPORT_SYMBOL(put_io_context);
/** /**
* put_io_context_active - put active reference on ioc * put_io_context_active - put active reference on ioc
...@@ -315,7 +313,6 @@ struct io_context *get_task_io_context(struct task_struct *task, ...@@ -315,7 +313,6 @@ struct io_context *get_task_io_context(struct task_struct *task,
return NULL; return NULL;
} }
EXPORT_SYMBOL(get_task_io_context);
/** /**
* ioc_lookup_icq - lookup io_cq from ioc * ioc_lookup_icq - lookup io_cq from ioc
......
...@@ -350,7 +350,6 @@ int blk_mq_register_dev(struct device *dev, struct request_queue *q) ...@@ -350,7 +350,6 @@ int blk_mq_register_dev(struct device *dev, struct request_queue *q)
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(blk_mq_register_dev);
void blk_mq_sysfs_unregister(struct request_queue *q) void blk_mq_sysfs_unregister(struct request_queue *q)
{ {
......
...@@ -143,7 +143,6 @@ void __blk_complete_request(struct request *req) ...@@ -143,7 +143,6 @@ void __blk_complete_request(struct request *req)
local_irq_restore(flags); local_irq_restore(flags);
} }
EXPORT_SYMBOL(__blk_complete_request);
static __init int blk_softirq_init(void) static __init int blk_softirq_init(void)
{ {
......
...@@ -130,7 +130,6 @@ blk_stat_alloc_callback(void (*timer_fn)(struct blk_stat_callback *), ...@@ -130,7 +130,6 @@ blk_stat_alloc_callback(void (*timer_fn)(struct blk_stat_callback *),
return cb; return cb;
} }
EXPORT_SYMBOL_GPL(blk_stat_alloc_callback);
void blk_stat_add_callback(struct request_queue *q, void blk_stat_add_callback(struct request_queue *q,
struct blk_stat_callback *cb) struct blk_stat_callback *cb)
...@@ -151,7 +150,6 @@ void blk_stat_add_callback(struct request_queue *q, ...@@ -151,7 +150,6 @@ void blk_stat_add_callback(struct request_queue *q,
blk_queue_flag_set(QUEUE_FLAG_STATS, q); blk_queue_flag_set(QUEUE_FLAG_STATS, q);
spin_unlock(&q->stats->lock); spin_unlock(&q->stats->lock);
} }
EXPORT_SYMBOL_GPL(blk_stat_add_callback);
void blk_stat_remove_callback(struct request_queue *q, void blk_stat_remove_callback(struct request_queue *q,
struct blk_stat_callback *cb) struct blk_stat_callback *cb)
...@@ -164,7 +162,6 @@ void blk_stat_remove_callback(struct request_queue *q, ...@@ -164,7 +162,6 @@ void blk_stat_remove_callback(struct request_queue *q,
del_timer_sync(&cb->timer); del_timer_sync(&cb->timer);
} }
EXPORT_SYMBOL_GPL(blk_stat_remove_callback);
static void blk_stat_free_callback_rcu(struct rcu_head *head) static void blk_stat_free_callback_rcu(struct rcu_head *head)
{ {
...@@ -181,7 +178,6 @@ void blk_stat_free_callback(struct blk_stat_callback *cb) ...@@ -181,7 +178,6 @@ void blk_stat_free_callback(struct blk_stat_callback *cb)
if (cb) if (cb)
call_rcu(&cb->rcu, blk_stat_free_callback_rcu); call_rcu(&cb->rcu, blk_stat_free_callback_rcu);
} }
EXPORT_SYMBOL_GPL(blk_stat_free_callback);
void blk_stat_enable_accounting(struct request_queue *q) void blk_stat_enable_accounting(struct request_queue *q)
{ {
......
...@@ -754,8 +754,6 @@ void wbt_disable_default(struct request_queue *q) ...@@ -754,8 +754,6 @@ void wbt_disable_default(struct request_queue *q)
if (rwb->enable_state == WBT_STATE_ON_DEFAULT) if (rwb->enable_state == WBT_STATE_ON_DEFAULT)
rwb->wb_normal = 0; rwb->wb_normal = 0;
} }
EXPORT_SYMBOL_GPL(wbt_disable_default);
static struct rq_qos_ops wbt_rqos_ops = { static struct rq_qos_ops wbt_rqos_ops = {
.throttle = wbt_wait, .throttle = wbt_wait,
......
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