|
@@ -17,7 +17,6 @@ struct io_context;
|
|
|
struct cgroup_subsys_state;
|
|
|
typedef void (bio_end_io_t) (struct bio *);
|
|
|
|
|
|
-#ifdef CONFIG_BLOCK
|
|
|
/*
|
|
|
* main unit of I/O for the block layer and lower layers (ie drivers and
|
|
|
* stacking drivers)
|
|
@@ -126,8 +125,6 @@ struct bio {
|
|
|
#define BVEC_POOL_OFFSET (16 - BVEC_POOL_BITS)
|
|
|
#define BVEC_POOL_IDX(bio) ((bio)->bi_flags >> BVEC_POOL_OFFSET)
|
|
|
|
|
|
-#endif /* CONFIG_BLOCK */
|
|
|
-
|
|
|
/*
|
|
|
* Operations and flags common to the bio and request structures.
|
|
|
* We use 8 bits for encoding the operation, and the remaining 24 for flags.
|