aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-06-30 14:42:08 -0400
committerJens Axboe <jens.axboe@oracle.com>2008-07-03 07:21:14 -0400
commitda9cbc87395308a21465bd25441297bbba0477e1 (patch)
treefabea3326cea434c0011fa00f3eb57854162117c /include/linux/blkdev.h
parentb984679efe1a616ec4ac919dba08286d71593900 (diff)
block: blkdev.h cleanup, move iocontext stuff to iocontext.h
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 4a9ed45270ff..443df75d2cde 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -33,12 +33,6 @@ struct sg_io_hdr;
33#define BLKDEV_MIN_RQ 4 33#define BLKDEV_MIN_RQ 4
34#define BLKDEV_MAX_RQ 128 /* Default maximum */ 34#define BLKDEV_MAX_RQ 128 /* Default maximum */
35 35
36int put_io_context(struct io_context *ioc);
37void exit_io_context(void);
38struct io_context *get_io_context(gfp_t gfp_flags, int node);
39struct io_context *alloc_io_context(gfp_t gfp_flags, int node);
40void copy_io_context(struct io_context **pdst, struct io_context **psrc);
41
42struct request; 36struct request;
43typedef void (rq_end_io_fn)(struct request *, int); 37typedef void (rq_end_io_fn)(struct request *, int);
44 38
@@ -981,17 +975,6 @@ static inline long nr_blockdev_pages(void)
981 return 0; 975 return 0;
982} 976}
983 977
984static inline void exit_io_context(void)
985{
986}
987
988struct io_context;
989static inline int put_io_context(struct io_context *ioc)
990{
991 return 1;
992}
993
994
995#endif /* CONFIG_BLOCK */ 978#endif /* CONFIG_BLOCK */
996 979
997#endif 980#endif