mm: FOLL_DUMP replace FOLL_ANON
[sfrench/cifs-2.6.git] / fs / block_dev.c
index 71e7e03ac34313ed2fcb890d727bf1e47e006317..5d1ed50bd46c591c1ef63b312c4844d013f5239b 100644 (file)
@@ -1114,7 +1114,7 @@ EXPORT_SYMBOL(revalidate_disk);
 int check_disk_change(struct block_device *bdev)
 {
        struct gendisk *disk = bdev->bd_disk;
-       struct block_device_operations * bdops = disk->fops;
+       const struct block_device_operations *bdops = disk->fops;
 
        if (!bdops->media_changed)
                return 0;