commit | 81238b2cff1469ff5b94390d026cd075105d6dcd | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu May 07 19:33:03 2020 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Wed Jul 08 08:27:56 2020 +0200 |
tree | 5011d4dfb86cad5ac8fd10fb8fb4237cefe0ad19 | |
parent | a01ac27be4729f80176a45c54611b768dfbdc840 [diff] |
fs: implement kernel_write using __kernel_write Consolidate the two in-kernel write helpers to make upcoming changes easier. The only difference are the missing call to rw_verify_area in kernel_write, and an access_ok check that doesn't make sense for kernel buffers to start with. Signed-off-by: Christoph Hellwig <hch@lst.de>