Skip to content

Commit

Permalink
fs: unexport __kernel_write
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig committed Jul 8, 2020
1 parent 6955a76 commit 9db9775
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/read_write.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9db9775

Please sign in to comment.