aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-ioc.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-ioc.c')
-rw-r--r--block/blk-ioc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/block/blk-ioc.c b/block/blk-ioc.c
index 6d1675508eb5..80245dc30c75 100644
--- a/block/blk-ioc.c
+++ b/block/blk-ioc.c
@@ -176,15 +176,6 @@ void copy_io_context(struct io_context **pdst, struct io_context **psrc)
176} 176}
177EXPORT_SYMBOL(copy_io_context); 177EXPORT_SYMBOL(copy_io_context);
178 178
179void swap_io_context(struct io_context **ioc1, struct io_context **ioc2)
180{
181 struct io_context *temp;
182 temp = *ioc1;
183 *ioc1 = *ioc2;
184 *ioc2 = temp;
185}
186EXPORT_SYMBOL(swap_io_context);
187
188int __init blk_ioc_init(void) 179int __init blk_ioc_init(void)
189{ 180{
190 iocontext_cachep = kmem_cache_create("blkdev_ioc", 181 iocontext_cachep = kmem_cache_create("blkdev_ioc",