diff options
-rw-r--r-- | fs/partitions/check.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c index b7e16bccd5e..8ed4d343319 100644 --- a/fs/partitions/check.c +++ b/fs/partitions/check.c @@ -258,8 +258,7 @@ ssize_t part_discard_alignment_show(struct device *dev, struct gendisk *disk = dev_to_disk(dev); return sprintf(buf, "%u\n", - (unsigned long long)queue_limit_discard_alignment( - &disk->queue->limits, + queue_limit_discard_alignment(&disk->queue->limits, p->start_sect)); } |