Merge tag 'drm-next-2020-04-03-1' of git://anongit.freedesktop.org/drm/drm
[sfrench/cifs-2.6.git] / include / linux / fs.h
index f81c822f4d897cf111ac58de22e445585ed77fd3..4f6f59b4f22a807e55e479468df1f1cb7068cfdc 100644 (file)
@@ -3399,7 +3399,7 @@ static inline bool io_is_direct(struct file *filp)
        return (filp->f_flags & O_DIRECT) || IS_DAX(filp->f_mapping->host);
 }
 
-static inline bool vma_is_dax(struct vm_area_struct *vma)
+static inline bool vma_is_dax(const struct vm_area_struct *vma)
 {
        return vma->vm_file && IS_DAX(vma->vm_file->f_mapping->host);
 }