diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2020-09-03 16:22:32 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-09-09 04:20:39 +0200 |
commit | 4bd6a7353ee14697fea645e941354976d2c4a452 (patch) | |
tree | fc5477c5f8ff20e2b5e5d66ecc8c319ff44b4fd0 /crypto/842.c | |
parent | proc: add a read_iter method to proc proc_ops (diff) | |
download | linux-4bd6a7353ee14697fea645e941354976d2c4a452.tar.xz linux-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 'crypto/842.c')
0 files changed, 0 insertions, 0 deletions