]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/genhd.h
Merge tag 'powerpc-spectre-rsb' of powerpc-CVE-2019-18660.bundle
[linux.git] / include / linux / genhd.h
index 8b5330dd5ac094b68ffbf3922c7571e8f2998474..8bb63027e4d6345b5f7a3a0954bbf301b260d5ef 100644 (file)
@@ -621,9 +621,10 @@ extern void blk_invalidate_devt(dev_t devt);
 extern dev_t blk_lookup_devt(const char *name, int partno);
 extern char *disk_name (struct gendisk *hd, int partno, char *buf);
 
+int bdev_disk_changed(struct block_device *bdev, bool invalidate);
+int blk_add_partitions(struct gendisk *disk, struct block_device *bdev);
+int blk_drop_partitions(struct gendisk *disk, struct block_device *bdev);
 extern int disk_expand_part_tbl(struct gendisk *disk, int target);
-extern int rescan_partitions(struct gendisk *disk, struct block_device *bdev);
-extern int invalidate_partitions(struct gendisk *disk, struct block_device *bdev);
 extern struct hd_struct * __must_check add_partition(struct gendisk *disk,
                                                     int partno, sector_t start,
                                                     sector_t len, int flags,