Skip to content
Commit 6209dd91 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

fs: implement kernel_read using __kernel_read



Consolidate the two in-kernel read helpers to make upcoming changes
easier.  The only difference are the missing call to rw_verify_area
in kernel_read, and an access_ok check that doesn't make sense for
kernel buffers to start with.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent a1f9b1c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment