diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2011-01-13 08:47:54 -0500 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-01-13 08:47:54 -0500 |
commit | 81c5e2ae33c4b19e53966b427e33646bf6811830 (patch) | |
tree | a602a6dd100165c8948bfa713e6f0b422dcba5d8 /include/linux/blkdev.h | |
parent | 797a455d2c682476c3797dbfecf5bf84c1e3b9d3 (diff) | |
parent | fcc57045d53edc35bcce456e60ac4aa802712934 (diff) |
Merge branch 'for-2.6.38/event-handling' into for-2.6.38/core
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 482a7fd48831..5730043eb15a 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -644,7 +644,6 @@ static inline void rq_flush_dcache_pages(struct request *rq) | |||
644 | 644 | ||
645 | extern int blk_register_queue(struct gendisk *disk); | 645 | extern int blk_register_queue(struct gendisk *disk); |
646 | extern void blk_unregister_queue(struct gendisk *disk); | 646 | extern void blk_unregister_queue(struct gendisk *disk); |
647 | extern void register_disk(struct gendisk *dev); | ||
648 | extern void generic_make_request(struct bio *bio); | 647 | extern void generic_make_request(struct bio *bio); |
649 | extern void blk_rq_init(struct request_queue *q, struct request *rq); | 648 | extern void blk_rq_init(struct request_queue *q, struct request *rq); |
650 | extern void blk_put_request(struct request *); | 649 | extern void blk_put_request(struct request *); |
@@ -1253,6 +1252,9 @@ struct block_device_operations { | |||
1253 | int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); | 1252 | int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); |
1254 | int (*direct_access) (struct block_device *, sector_t, | 1253 | int (*direct_access) (struct block_device *, sector_t, |
1255 | void **, unsigned long *); | 1254 | void **, unsigned long *); |
1255 | unsigned int (*check_events) (struct gendisk *disk, | ||
1256 | unsigned int clearing); | ||
1257 | /* ->media_changed() is DEPRECATED, use ->check_events() instead */ | ||
1256 | int (*media_changed) (struct gendisk *); | 1258 | int (*media_changed) (struct gendisk *); |
1257 | void (*unlock_native_capacity) (struct gendisk *); | 1259 | void (*unlock_native_capacity) (struct gendisk *); |
1258 | int (*revalidate_disk) (struct gendisk *); | 1260 | int (*revalidate_disk) (struct gendisk *); |