Re: [PATCH -next] virtio-fs: Add missing include file

From: Miklos Szeredi
Date: Mon Sep 02 2019 - 14:05:33 EST


On Mon, Sep 2, 2019 at 4:43 PM YueHaibing <yuehaibing@xxxxxxxxxx> wrote:
>
> fs/fuse/virtio_fs.c: In function virtio_fs_requests_done_work:
> fs/fuse/virtio_fs.c:348:6: error: implicit declaration of function zero_user_segment;
> did you mean get_user_pages? [-Werror=implicit-function-declaration]
> zero_user_segment(page, len, thislen);
> ^~~~~~~~~~~~~~~~~
> get_user_pages
>
> Add missing include file <linux/highmem.h>

Thanks, folded.

Miklos