]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - block/partition-generic.c
Merge branch 'for-4.15/dax' into libnvdimm-for-next
[mirror_ubuntu-bionic-kernel.git] / block / partition-generic.c
index 86e8fe1adcdb7f1b10fd5acd8f5c36f712736971..88c555db4e5deee60d852b78b70a20589cc2813f 100644 (file)
@@ -112,7 +112,7 @@ ssize_t part_stat_show(struct device *dev,
                       struct device_attribute *attr, char *buf)
 {
        struct hd_struct *p = dev_to_part(dev);
-       struct request_queue *q = dev_to_disk(dev)->queue;
+       struct request_queue *q = part_to_disk(p)->queue;
        unsigned int inflight[2];
        int cpu;