diff options
author | 2020-09-08 16:53:42 +0200 | |
---|---|---|
committer | 2020-09-10 09:32:31 -0600 | |
commit | fec2cf607ba9305770436b1e5c485963a9f0a7bd (patch) | |
tree | 8067ab6c32fca7d3beb4983608e833addc47001c /include/linux/ide.h | |
parent | ide-cd: remove idecd_revalidate_disk (diff) | |
download | wireguard-linux-fec2cf607ba9305770436b1e5c485963a9f0a7bd.tar.xz wireguard-linux-fec2cf607ba9305770436b1e5c485963a9f0a7bd.zip |
ide-gd: stop using the disk events mechanism
ide-gd is only using the disk events mechanism to be able to force an
invalidation and partition scan on opening removable media. Just open
code the logic without invoving the block layer.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index a254841bd315..62653769509f 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -490,8 +490,6 @@ enum { IDE_DFLAG_NOPROBE = BIT(9), /* need to do check_media_change() */ IDE_DFLAG_REMOVABLE = BIT(10), - /* needed for removable devices */ - IDE_DFLAG_ATTACH = BIT(11), IDE_DFLAG_FORCED_GEOM = BIT(12), /* disallow setting unmask bit */ IDE_DFLAG_NO_UNMASK = BIT(13), |