]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - include/linux/blkdev.h
dax: enable dax in the presence of known media errors (badblocks)
[mirror_ubuntu-zesty-kernel.git] / include / linux / blkdev.h
index 27cbefe8c985669d86fb069741ac4d17bdc2bef1..cf7c13c2c38de2e720ce0ef5c9edeb427e4d8ba2 100644 (file)
@@ -1668,7 +1668,7 @@ struct block_device_operations {
        int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
        int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
        long (*direct_access)(struct block_device *, sector_t, void __pmem **,
-                       pfn_t *);
+                       pfn_t *, long);
        unsigned int (*check_events) (struct gendisk *disk,
                                      unsigned int clearing);
        /* ->media_changed() is DEPRECATED, use ->check_events() instead */