Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp157308ybm; Wed, 27 May 2020 22:43:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZ+l8lSoDz+MTlt2fcA888kHpzWi0ttb+0kja4JBeaQEZL+/LCGpwx5fyH//ftvqLJWCWH X-Received: by 2002:aa7:c4da:: with SMTP id p26mr1406955edr.184.1590644594082; Wed, 27 May 2020 22:43:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590644594; cv=none; d=google.com; s=arc-20160816; b=HDo5yYc9sBPH4AXA6ibdjG8zIcazQCqc1R+EqVGvA2rLmy5zvzMWvCcyAG4exusBHD mrqOLSmve7kHbFcZRzv+eYEjrkwboyIpsGSZhR1cwnfF3wi0bF9DV4B2I7NRyJj/jdnW 6ZMSKY8udGZ9XT9c1bRHMt1npQVRsOT7wj5M/FZTPPMUFi0yoTZrU4MnFmhVSZ96jEDV s0fXr9aeCC3XnSgdE7Xt4X3nHFYQPwyWlHgbwvS8bZtiP4ykWh7OHapa9s+KAwoyENKS BbLoK4hY/Mu7jJSh98zJJCi7uNjxWUk5WQDKloUrHxYlNqzvXojV5omCi3G2Akq/zhp8 BtBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OfbCGpVq2bSVaxzX21SAbOgZUqmrr254Kbi/uKi31mE=; b=Cod08ic1/LYqfDW1YqxoDPEnHDbyYmEYDsJsW13AX+gs7YPTv+wW/dsAZHM8z3kTIY p/8yL+7C4b23mrPjU1z7zLpt62hv02G9xk1ReLLyWuyF92VitjCgwSMnygCZjGSj2bny Z9SbJCoSd/tiQJiSX+RfLYwtZEj4xd7R94MdemyAVzPJo3SQz5k0xen8ZTpPsiwvQpPB gW6YQg3QxjAR6HF3gCrQZH/dMhMbg4cbswJOg0I3LMWkv7sETvSN2Uk6frgt/6yf5/xk 3WBrUg0NOTnLtD8d09RAeOM4azLf2ffc4wkcyrxFmyyk4GjAeYrBgeP6Oji1B2d8AqWU Umzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=S5cqbOTD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o11si405550edv.414.2020.05.27.22.42.51; Wed, 27 May 2020 22:43:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=S5cqbOTD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727939AbgE1FlB (ORCPT + 99 others); Thu, 28 May 2020 01:41:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727915AbgE1Fk7 (ORCPT ); Thu, 28 May 2020 01:40:59 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B5FEC05BD1E; Wed, 27 May 2020 22:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=OfbCGpVq2bSVaxzX21SAbOgZUqmrr254Kbi/uKi31mE=; b=S5cqbOTDRp5dleW5ZVjmCZMgnu 1SwnwIkimBF14ZxVRjVGNMMIKvyBjK79Sc9tkggRt3QluIug/5YhnLZotNXsMFGM/yd47DUmZdCQ3 eKobcr/s0EIDpuAWd4YckaRcgRyoHNpNvoDCSSrl9B/ruy1JFxIxh3lGosjOTTcwVUTzY9FkUJGS5 FkEavwas4oZ+yPQqpdWT03zfKRBzkbmZqdGKpHjm703RKnnX+NsJARtOwYhY54NHs1BJeXd6rX0Da nznZy7SudQgQrhLjIKOzbA5zF+V/xPX6pighYz9SCdA+ba4TiF5vyMpupj7e1uQB1lulWHPsKNCDH Gb+xIt5A==; Received: from p4fdb1ad2.dip0.t-ipconnect.de ([79.219.26.210] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jeBHk-0002Ka-87; Thu, 28 May 2020 05:40:56 +0000 From: Christoph Hellwig To: Al Viro Cc: Linus Torvalds , Ian Kent , David Howells , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-security-module@vger.kernel.org, netfilter-devel@vger.kernel.org Subject: [PATCH 04/14] fs: unexport __kernel_write Date: Thu, 28 May 2020 07:40:33 +0200 Message-Id: <20200528054043.621510-5-hch@lst.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200528054043.621510-1-hch@lst.de> References: <20200528054043.621510-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a very special interface that skips sb_writes protection, and not used by modules anymore. Signed-off-by: Christoph Hellwig --- fs/read_write.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/read_write.c b/fs/read_write.c index bbfa9b12b15eb..2c601d853ff3d 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -522,7 +522,6 @@ ssize_t __kernel_write(struct file *file, const void *buf, size_t count, loff_t inc_syscw(current); return ret; } -EXPORT_SYMBOL(__kernel_write); ssize_t kernel_write(struct file *file, const void *buf, size_t count, loff_t *pos) -- 2.26.2