aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-03-01 15:04:39 -0500
committerJens Axboe <jaxboe@fusionio.com>2011-03-01 15:04:39 -0500
commit6fae9c25134baffbeeb20031479e7ff6f6d8eec0 (patch)
treec9ab89992ce5293a43cd455a81dc8a5926a28a5e /include/linux/blkdev.h
parentc186794dbb466b45cf40f942f2d09d6d5b4b0e42 (diff)
parentf5412be599602124d2bdd49947b231dd77c0bf99 (diff)
Merge commit 'v2.6.38-rc6' into for-2.6.39/core
Conflicts: block/cfq-iosched.c Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 12bb426949e9..e3ee74fc5903 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -121,6 +121,7 @@ struct request {
121 }; 121 };
122 122
123 struct gendisk *rq_disk; 123 struct gendisk *rq_disk;
124 struct hd_struct *part;
124 unsigned long start_time; 125 unsigned long start_time;
125#ifdef CONFIG_BLK_CGROUP 126#ifdef CONFIG_BLK_CGROUP
126 unsigned long long start_time_ns; 127 unsigned long long start_time_ns;
@@ -653,7 +654,6 @@ static inline void rq_flush_dcache_pages(struct request *rq)
653 654
654extern int blk_register_queue(struct gendisk *disk); 655extern int blk_register_queue(struct gendisk *disk);
655extern void blk_unregister_queue(struct gendisk *disk); 656extern void blk_unregister_queue(struct gendisk *disk);
656extern void register_disk(struct gendisk *dev);
657extern void generic_make_request(struct bio *bio); 657extern void generic_make_request(struct bio *bio);
658extern void blk_rq_init(struct request_queue *q, struct request *rq); 658extern void blk_rq_init(struct request_queue *q, struct request *rq);
659extern void blk_put_request(struct request *); 659extern void blk_put_request(struct request *);
@@ -1263,6 +1263,9 @@ struct block_device_operations {
1263 int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); 1263 int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
1264 int (*direct_access) (struct block_device *, sector_t, 1264 int (*direct_access) (struct block_device *, sector_t,
1265 void **, unsigned long *); 1265 void **, unsigned long *);
1266 unsigned int (*check_events) (struct gendisk *disk,
1267 unsigned int clearing);
1268 /* ->media_changed() is DEPRECATED, use ->check_events() instead */
1266 int (*media_changed) (struct gendisk *); 1269 int (*media_changed) (struct gendisk *);
1267 void (*unlock_native_capacity) (struct gendisk *); 1270 void (*unlock_native_capacity) (struct gendisk *);
1268 int (*revalidate_disk) (struct gendisk *); 1271 int (*revalidate_disk) (struct gendisk *);