aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-05-07 19:33:03 +0200
committerChristoph Hellwig <hch@lst.de>2020-07-08 08:27:56 +0200
commit81238b2cff1469ff5b94390d026cd075105d6dcd (patch)
tree5011d4dfb86cad5ac8fd10fb8fb4237cefe0ad19 /kernel/trace
parentfs: check FMODE_WRITE in __kernel_write (diff)
downloadlinux-dev-81238b2cff1469ff5b94390d026cd075105d6dcd.tar.xz
linux-dev-81238b2cff1469ff5b94390d026cd075105d6dcd.zip
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>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions