aboutsummaryrefslogtreecommitdiffstats
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2020-09-03 16:22:32 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2020-09-08 22:20:39 -0400
commit4bd6a7353ee14697fea645e941354976d2c4a452 (patch)
treefc5477c5f8ff20e2b5e5d66ecc8c319ff44b4fd0 /fs/read_write.c
parentproc: add a read_iter method to proc proc_ops (diff)
downloadlinux-dev-4bd6a7353ee14697fea645e941354976d2c4a452.tar.xz
linux-dev-4bd6a7353ee14697fea645e941354976d2c4a452.zip
sysctl: Convert to iter interfaces
Using the read_iter/write_iter interfaces allows for in-kernel users to set sysctls without using set_fs(). Also, the buffer is a string, so give it the real type of 'char *', not void *. [AV: Christoph's fixup folded in] Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions