From: Christoph Hellwig Date: Wed, 13 May 2020 06:47:17 +0000 (+0200) Subject: fs: unexport __kernel_write X-Git-Tag: v5.8-rc5~17^2~7 X-Git-Url: https://repo.jachan.dev/linux.git/commitdiff_plain/9db977522449 fs: unexport __kernel_write This is a very special interface that skips sb_writes protection, and not used by modules anymore. Signed-off-by: Christoph Hellwig --- diff --git a/fs/read_write.c b/fs/read_write.c index bbfa9b12b15e..2c601d853ff3 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)