diff options
Diffstat (limited to 'fs/partitions')
-rw-r--r-- | fs/partitions/check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c index fbeaddf595d3..7b685e10cbad 100644 --- a/fs/partitions/check.c +++ b/fs/partitions/check.c | |||
@@ -581,7 +581,7 @@ try_scan: | |||
581 | } | 581 | } |
582 | 582 | ||
583 | if (from + size > get_capacity(disk)) { | 583 | if (from + size > get_capacity(disk)) { |
584 | struct block_device_operations *bdops = disk->fops; | 584 | const struct block_device_operations *bdops = disk->fops; |
585 | unsigned long long capacity; | 585 | unsigned long long capacity; |
586 | 586 | ||
587 | printk(KERN_WARNING | 587 | printk(KERN_WARNING |