diff options
author | Jia He <hejianet@gmail.com> | 2021-08-03 12:59:36 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-08-17 11:47:53 -0400 |
commit | a2071573d6346819cc4e5787b4206f2184985160 (patch) | |
tree | 29b4e98e0d31a6e0e2516595818769c216f5e9bb /fs/lockd | |
parent | 5c11720767f70d34357d00a15ba5a0ad052c40fe (diff) |
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: Pan Xinhui <xinhui@linux.vnet.ibm.com>
Signed-off-by: Jia He <hejianet@gmail.com>
[thuth: rebased the patch to the current kernel version]
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions