ext2/4, xfs: call thp_get_unmapped_area() for pmd mappings
[cascardo/linux.git] / fs / xfs / xfs_file.c
index c68517b..bac55c6 100644 (file)
@@ -1618,6 +1618,7 @@ const struct file_operations xfs_file_operations = {
        .open           = xfs_file_open,
        .release        = xfs_file_release,
        .fsync          = xfs_file_fsync,
+       .get_unmapped_area = thp_get_unmapped_area,
        .fallocate      = xfs_file_fallocate,
 };