commit | 4bd6a7353ee14697fea645e941354976d2c4a452 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Thu Sep 03 16:22:32 2020 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Sep 08 22:20:39 2020 -0400 |
tree | fc5477c5f8ff20e2b5e5d66ecc8c319ff44b4fd0 | |
parent | fd5a13f4893c8df2a5a3af8599adecb52d05fe89 [diff] |
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>