aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-01-13 08:47:54 -0500
committerJens Axboe <jaxboe@fusionio.com>2011-01-13 08:47:54 -0500
commit81c5e2ae33c4b19e53966b427e33646bf6811830 (patch)
treea602a6dd100165c8948bfa713e6f0b422dcba5d8 /include/linux/blkdev.h
parent797a455d2c682476c3797dbfecf5bf84c1e3b9d3 (diff)
parentfcc57045d53edc35bcce456e60ac4aa802712934 (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.h4
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
645extern int blk_register_queue(struct gendisk *disk); 645extern int blk_register_queue(struct gendisk *disk);
646extern void blk_unregister_queue(struct gendisk *disk); 646extern void blk_unregister_queue(struct gendisk *disk);
647extern void register_disk(struct gendisk *dev);
648extern void generic_make_request(struct bio *bio); 647extern void generic_make_request(struct bio *bio);
649extern void blk_rq_init(struct request_queue *q, struct request *rq); 648extern void blk_rq_init(struct request_queue *q, struct request *rq);
650extern void blk_put_request(struct request *); 649extern 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 *);