summaryrefslogtreecommitdiffstats
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-05-13 08:47:17 +0200
committerChristoph Hellwig <hch@lst.de>2020-07-08 08:27:56 +0200
commit9db97752244919c604eb21df7ef2da3bf58aec73 (patch)
tree8f66600629d9c988cbd51071b3a477c640b1fc85 /fs/read_write.c
parentbpfilter: switch to kernel_write (diff)
downloadlinux-9db97752244919c604eb21df7ef2da3bf58aec73.tar.xz
linux-9db97752244919c604eb21df7ef2da3bf58aec73.zip
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 <hch@lst.de>
Diffstat (limited to 'fs/read_write.c')
-rw-r--r--fs/read_write.c1
1 files changed, 0 insertions, 1 deletions
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)