commit | 6209dd9132e8ea5545cffc84483841e88ea8cc5b | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri May 08 09:00:28 2020 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Wed Jul 08 08:27:57 2020 +0200 |
tree | 5b9b51d6d71f383638e0a3ffb25911b24367f639 | |
parent | a1f9b1c0439db47ea10418b8ee7092a0d970cc2d [diff] |
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: Christoph Hellwig <hch@lst.de>