summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Wilck <mwilck@suse.com>2019-03-27 14:51:01 +0100
committerJens Axboe <axboe@kernel.dk>2019-04-12 13:35:22 -0600
commit673387a930059fc4ad8060847a1d46f94e702281 (patch)
treeeb69068301eb39d33239efd75b3d3b9a5777702f /include
parent52d52d1c98a90cfe860b83498e4b6074aad95c15 (diff)
block: genhd: remove async_events field
The async_events field, intended to be used for drivers that support asynchronous notifications about disk events (aka media change events), isn't currently used by any driver, and apparently that has been that way for a long time (if not forever). Remove it. Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin Wilck <mwilck@suse.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/genhd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index 98076b1b5e48..a65d9fc17369 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -185,7 +185,6 @@ struct gendisk {
char *(*devnode)(struct gendisk *gd, umode_t *mode);
unsigned int events; /* supported events */
- unsigned int async_events; /* async events, subset of all */
/* Array of pointers to partitions indexed by partno.
* Protected with matching bdev lock but stat and other