Message ID | 20180516054348.15950-3-hch@lst.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1CA97601F9 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 16 May 2018 05:44:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0BCF628733 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 16 May 2018 05:44:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2B9E28761; Wed, 16 May 2018 05:44:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 799F528733 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 16 May 2018 05:44:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 97FC26B02E7; Wed, 16 May 2018 01:44:19 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 92F0D6B02E8; Wed, 16 May 2018 01:44:19 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 86E326B02E9; Wed, 16 May 2018 01:44:19 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pl0-f71.google.com (mail-pl0-f71.google.com [209.85.160.71]) by kanga.kvack.org (Postfix) with ESMTP id 4B9826B02E7 for <linux-mm@kvack.org>; Wed, 16 May 2018 01:44:19 -0400 (EDT) Received: by mail-pl0-f71.google.com with SMTP id f11-v6so1952275plj.23 for <linux-mm@kvack.org>; Tue, 15 May 2018 22:44:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id:in-reply-to:references; bh=B7YJd8g6FcutkNfMuvFOhD4nTvaF9/3z012uluy5428=; b=kDBREjj28o1pttYCsRKiYgjTYWHz0DcPx3IyqE7qB4Vuwb4pz1k0kIndUnuRa/FnBD MkWzve6EPJ+yHBfpaopAgJq3nKgdRwtihsVXYPpyBC6WZXhZKFD8teUFD9d/1ytCj5xn 91VwfnEjEAP2nm+Iqliy5KIMIlGzvNNBNy3DfWdejMqXuv7bv1zSp8S7GKCMVtdOTk/Z 572Ggdsti6BH+vemF4bcUoRvsICrQGdtcOWz+fTkBvHHE2sqqi65PgWbZiPkyMmtuJPz EvmR6DEnhm34WataezC1OZh09ZZRHNZPh+ENiNlFCqixC747utFCF8RUHEZhasDJ1PBz mZyA== X-Gm-Message-State: ALKqPwdoieGO+Ys6Z804WJhcBItmrJWEZD4UsCw0EKJscOThdS4/2ZbK d8oJ0M0obDH4GnJlsdLOu1R6HzfBWiCIHlAhbF0pBKgLoQ3ctEV1zqLAaD77xDH/8+CR8vV9ZSz nvyqQCGkt9QgOPFuWtlF2kj1sz3ywOD04jcOwqNaLC3lwykbIaSzC/GUUphZ77B8= X-Received: by 2002:a62:4a88:: with SMTP id c8-v6mr18414742pfj.23.1526449458996; Tue, 15 May 2018 22:44:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr0yugaHe3/IomE+PcAfZsE5P/5dKMq0Bg8iFVluWSSVKYruFOXYxIGlWPpUeb0NiheXWYa X-Received: by 2002:a62:4a88:: with SMTP id c8-v6mr18414711pfj.23.1526449458377; Tue, 15 May 2018 22:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526449458; cv=none; d=google.com; s=arc-20160816; b=aiMV0pVD9yoqZhpnTxZp23kz8JVX8oqRBykX+aYLgW6+Yw47fdR4aQFMfLZ1c5EUcL /c1VWpLATnYK0YNPLMGsAaAdsVB26UkjkAzHogKV0wRnbOWg+AItKGBZqg4KrOVuIce1 GJFez2qG60J0wlwVIWNjcAnRcbx7Wfx8FBxW7xkXS5uVhlovB9DEYPMAoaPjyU3YnzVf ksi35IcOe4ypSBUBQv6WffR2mVAlvKaqtXmvlPQCZHjcsp6wEDjMDoUBBtFeFfeEaAaf FnNYKjf7ReIT7mwL39YGI7zslUHAl+/JajvdmvahYoVJJfsUZMZWTM+nLUiSB6O00+le c5Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=B7YJd8g6FcutkNfMuvFOhD4nTvaF9/3z012uluy5428=; b=G/UsjrnqJCeKjY0yqp/QAdAk6WU6Ohds+R6BI+teQX2ie8EcAkPmDISs5NSYCxjl9m dLkRkRlcVG1nToAN7PrmYggwLL/zuvsPKN7FEy0hg+SL6IGorSDmyxKDkC+yCwYAwR0V 406Eb0RfMDtucXv2d2j1Urw4OrCdZbaMEtAtaqyvJxJNNAX0vByfxSPoBdgCKiUfHQft sRpK/8QggzncN90xQRdiHZQnBIe1ZlXb2fRQautrPGLlZA2TfwJVPQB+Xr6JXVlJ7SEb qN7pp7EUqJW2KJSo15v0Ezjp5fJG1Rafs+1idWj7sxfaY1A6inu3wXH3rSi1TwcrU2MA 9Gdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20170209 header.b=csDSmxcA; spf=pass (google.com: best guess record for domain of batv+8c5add14d4fec8f33fc9+5379+infradead.org+hch@bombadil.srs.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom=BATV+8c5add14d4fec8f33fc9+5379+infradead.org+hch@bombadil.srs.infradead.org Received: from bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:e::133]) by mx.google.com with ESMTPS id b7-v6si12362pgn.583.2018.05.15.22.44.18 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 22:44:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of batv+8c5add14d4fec8f33fc9+5379+infradead.org+hch@bombadil.srs.infradead.org designates 2607:7c80:54:e::133 as permitted sender) client-ip=2607:7c80:54:e::133; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20170209 header.b=csDSmxcA; spf=pass (google.com: best guess record for domain of batv+8c5add14d4fec8f33fc9+5379+infradead.org+hch@bombadil.srs.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom=BATV+8c5add14d4fec8f33fc9+5379+infradead.org+hch@bombadil.srs.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=B7YJd8g6FcutkNfMuvFOhD4nTvaF9/3z012uluy5428=; b=csDSmxcA9uN/2T9xjpNIM+Uwl 3EsEoiBTq6AXLRfkz2l65ykBLHxqbOtcb5bAMYs/dQ/Vkr5tOylM8InJO23bx4cq4GA8XCy7wNdce Q5IEqnoXnNYQpi2h/wt1wN+zru6cNToMmKVAkXq1tqMfF4ykhAaZmsikFCPJGtOakuur12L/cyas5 FuzloaGrK2CQqhmk6JePklWh3Kpo/zHzIpwGEaKNDTvPIZT/9j3RRV3t7vCaYWNZWCJ9l5F6Gnrs6 Yb35g8nHXqNLsDXdpTI38BXqifHVnrTuYiqmh5zjV0o0YwK4m52kIBSgvyvg4UX2zznRsa462st86 0mDiMCYbQ==; Received: from [93.83.86.253] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIpED-0007zV-TC; Wed, 16 May 2018 05:43:58 +0000 From: Christoph Hellwig <hch@lst.de> To: Souptick Joarder <jrdr.linux@gmail.com>, Matthew Wilcox <willy@infradead.org> Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, devel@lists.orangefs.org, ceph-devel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, ocfs2-devel@oss.oracle.com, linux-mtd@lists.infradead.org, dri-devel@lists.freedesktop.org, lustre-devel@lists.lustre.org, linux-arm-kernel@lists.infradead.org, linux-s390@vger.kernel.org Subject: [PATCH 02/14] fs: make the filemap_page_mkwrite prototype consistent Date: Wed, 16 May 2018 07:43:36 +0200 Message-Id: <20180516054348.15950-3-hch@lst.de> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180516054348.15950-1-hch@lst.de> References: <20180516054348.15950-1-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from <hch@infradead.org> by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/mm/filemap.c b/mm/filemap.c index 52517f28e6f4..cf21ced98eff 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -2748,7 +2748,7 @@ int generic_file_readonly_mmap(struct file *file, struct vm_area_struct *vma) return generic_file_mmap(file, vma); } #else -int filemap_page_mkwrite(struct vm_fault *vmf) +vm_fault_t filemap_page_mkwrite(struct vm_fault *vmf) { return -ENOSYS; }
!CONFIG_MMU version didn't agree with the rest of the kernel.. Signed-off-by: Christoph Hellwig <hch@lst.de> --- mm/filemap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)