Return-Path: Received: from bombadil.infradead.org ([65.50.211.133]:38093 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752457AbdIAPkW (ORCPT ); Fri, 1 Sep 2017 11:40:22 -0400 From: Christoph Hellwig To: viro@zeniv.linux.org.uk Cc: arve@android.com, riandrews@android.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 16/17] fs: unexport vfs_read and vfs_write Date: Fri, 1 Sep 2017 17:39:24 +0200 Message-Id: <20170901153925.30578-17-hch@lst.de> In-Reply-To: <20170901153925.30578-1-hch@lst.de> References: <20170901153925.30578-1-hch@lst.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: No modular users left. Given that they take user pointers there is no good reason to export it to drivers to start with. Signed-off-by: Christoph Hellwig --- fs/read_write.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fs/read_write.c b/fs/read_write.c index 49450c642298..f5cfce243cef 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -454,8 +454,6 @@ ssize_t vfs_read(struct file *file, char __user *buf, size_t count, loff_t *pos) return ret; } -EXPORT_SYMBOL(vfs_read); - static ssize_t new_sync_write(struct file *filp, const char __user *buf, size_t len, loff_t *ppos) { struct iovec iov = { .iov_base = (void __user *)buf, .iov_len = len }; @@ -554,8 +552,6 @@ ssize_t vfs_write(struct file *file, const char __user *buf, size_t count, loff_ return ret; } -EXPORT_SYMBOL(vfs_write); - static inline loff_t file_pos_read(struct file *file) { return file->f_pos; -- 2.11.0