diff --git a/fs/partitions/check.c b/fs/partitions/check.c index b7e16bccd5e53d494902c85a2f8d795ae1b1f403..8ed4d3433199fb233913c3f2e6e88afc149c062c 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)); }