ext2/4, xfs: call thp_get_unmapped_area() for pmd mappings
[cascardo/linux.git] / fs / ext2 / file.c
index 423cc01..0ca363d 100644 (file)
@@ -234,6 +234,7 @@ const struct file_operations ext2_file_operations = {
        .open           = dquot_file_open,
        .release        = ext2_release_file,
        .fsync          = ext2_fsync,
+       .get_unmapped_area = thp_get_unmapped_area,
        .splice_read    = generic_file_splice_read,
        .splice_write   = iter_file_splice_write,
 };