Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp748478ybe; Mon, 2 Sep 2019 08:32:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqykKkAVTxIRjEOzdJU5VoZOGmPQ1y3BFHOpgsxnbchk68//wBcytbPFZiXeiBI7p1c/WaiQ X-Received: by 2002:a65:5144:: with SMTP id g4mr25807090pgq.202.1567438370240; Mon, 02 Sep 2019 08:32:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567438370; cv=none; d=google.com; s=arc-20160816; b=RGhkoMPZFFwu4JvkW9STBqUevbuA5QWfFNVSVRlL3fVpyoWdTICqOhO2hyGZzECsZY Ay/hnpG4wWSvmz3O0MrQxWHKW9t4PHPK9yMvmm4f7vQ0WtBo0M+cN9ntD2jIDPIXYNrc 8jzRyMb4fL/v0DLKSLZVA0wConj3Go9Lc58RXrxt1hxBvWNEKgqKNHk81SP2FuTu8u5M vsqzkj+qXqrZnkiKBCuTarDE4aQTkyUTUJ1kt868U+1C67dix6dcA1RX9TQ2Q0YR4Ks9 UCWYR946S4zPyUfj4pzAztaZ2zoj4BzYG/Kr/oObPeXCC9BX5btudE3P/Z6MxvmSPikX aPdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=wB75rDO6tB/Fu70gbD0If54jnNkvLTpwN8DoZynbaXc=; b=lFuQ+IEv05R45l3OtihORQuzpz0gCr/XuggKsJ6bI4VNE4Yl/uWYtDsctl2qwmKwlo Y8Uju43cwmNH1ZYIwtCgA1WwNeinK/GnQrWpgcYhlbvZBLvMCZJ+0vhAovb6pUGFalEz nMthq1zFymo1qk6WePRvGcKjge3RSG+7Ds3qvFG8dUNCx9O5DILJcsOpv/Gsc2ui2LCo j9T4pdOt8g5zMI8LCzlXDENHo0cFNwLMUMwPgZ2BUkjv4QCFszdLLIccNjS5rCh/i/e7 zQrGww8A0IJliOZDKd0ZXLAsHX7mtlMRuZ+PxDeJXizsJN7p+JqkbLukg3Qqbo+PxSbj pEiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 12si11823284pgu.469.2019.09.02.08.32.35; Mon, 02 Sep 2019 08:32:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731597AbfIBOnV (ORCPT + 99 others); Mon, 2 Sep 2019 10:43:21 -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 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 */ -- 2.7.4