Skip to content
Commit a2071573 authored by Jia He's avatar Jia He Committed by Chuck Lever
Browse files

sysctl: introduce new proc handler proc_dobool



This is to let bool variable could be correctly displayed in
big/little endian sysctl procfs. sizeof(bool) is arch dependent,
proc_dobool should work in all arches.

Suggested-by: default avatarPan Xinhui <xinhui@linux.vnet.ibm.com>
Signed-off-by: default avatarJia He <hejianet@gmail.com>
[thuth: rebased the patch to the current kernel version]
Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 5c117207
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment