From patchwork Mon Sep 2 14:39:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 11126851 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8973F1813 for ; Mon, 2 Sep 2019 14:43:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7357821883 for ; Mon, 2 Sep 2019 14:43:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731557AbfIBOnU (ORCPT ); Mon, 2 Sep 2019 10:43:20 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:58364 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731175AbfIBOnU (ORCPT ); Mon, 2 Sep 2019 10:43:20 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id BEA50F3B77B84EDC58D3; Mon, 2 Sep 2019 22:43:17 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.439.0; Mon, 2 Sep 2019 22:43:08 +0800 From: YueHaibing To: , , , , CC: , , YueHaibing Subject: [PATCH -next] virtio-fs: Add missing include file Date: Mon, 2 Sep 2019 22:39:15 +0800 Message-ID: <20190902143915.20576-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org 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 Reported-by: Hulk Robot Fixes: 08f3aab37d99 ("virtio-fs: add virtiofs filesystem") Signed-off-by: YueHaibing --- fs/fuse/virtio_fs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/fuse/virtio_fs.c b/fs/fuse/virtio_fs.c index b92dfb1..e731c4f 100644 --- a/fs/fuse/virtio_fs.c +++ b/fs/fuse/virtio_fs.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "fuse_i.h" /* List of virtio-fs device instances and a lock for the list */