fs: add a __kernel_read helper
authorChristoph Hellwig <hch@lst.de>
Fri, 8 May 2020 06:54:16 +0000 (08:54 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 8 Jul 2020 06:27:56 +0000 (08:27 +0200)
commit61a707c543e2afe3aa7e88f87267c5dafa4b5afa
tree0890bd5d37503f57d3dca76d90a320eda56a802a
parent53ad86266bda973b526078227997ca3fcb92c9be
fs: add a __kernel_read helper

This is the counterpart to __kernel_write, and skip the rw_verify_area
call compared to kernel_read.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/read_write.c
include/linux/fs.h