btrfs_do_encoded_write() was converted to use folios in 
400b172b8cdc,
but we're still allocating based on sizeof(struct page *) rather than
sizeof(struct folio *). There's no functional change.
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Mark Harmstone <maharmstone@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
 
         */
        disk_num_bytes = ALIGN(orig_count, fs_info->sectorsize);
        nr_folios = DIV_ROUND_UP(disk_num_bytes, PAGE_SIZE);
-       folios = kvcalloc(nr_folios, sizeof(struct page *), GFP_KERNEL_ACCOUNT);
+       folios = kvcalloc(nr_folios, sizeof(struct folio *), GFP_KERNEL_ACCOUNT);
        if (!folios)
                return -ENOMEM;
        for (i = 0; i < nr_folios; i++) {