diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-06-30 14:42:08 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-07-03 07:21:14 -0400 |
commit | da9cbc87395308a21465bd25441297bbba0477e1 (patch) | |
tree | fabea3326cea434c0011fa00f3eb57854162117c /include/linux/blkdev.h | |
parent | b984679efe1a616ec4ac919dba08286d71593900 (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.h | 17 |
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 | ||
36 | int put_io_context(struct io_context *ioc); | ||
37 | void exit_io_context(void); | ||
38 | struct io_context *get_io_context(gfp_t gfp_flags, int node); | ||
39 | struct io_context *alloc_io_context(gfp_t gfp_flags, int node); | ||
40 | void copy_io_context(struct io_context **pdst, struct io_context **psrc); | ||
41 | |||
42 | struct request; | 36 | struct request; |
43 | typedef void (rq_end_io_fn)(struct request *, int); | 37 | typedef 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 | ||
984 | static inline void exit_io_context(void) | ||
985 | { | ||
986 | } | ||
987 | |||
988 | struct io_context; | ||
989 | static 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 |