projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6955a76
)
fs: unexport __kernel_write
author
Christoph Hellwig
<hch@lst.de>
Wed, 13 May 2020 06:47:17 +0000
(08:47 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 8 Jul 2020 06:27:56 +0000
(08:27 +0200)
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>
fs/read_write.c
patch
|
blob
|
history
diff --git
a/fs/read_write.c
b/fs/read_write.c
index
bbfa9b1
..
2c601d8
100644
(file)
--- 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)