kernel_samsung_a53x/fs/lockd
Jia He 02dc2f82d9 lockd: change the proc_handler for nsm_use_hostnames
[ Upstream commit d02a3a2cb25d384005a6e3446a445013342024b7 ]

nsm_use_hostnames is a module parameter and it will be exported to sysctl
procfs. This is to let user sometimes change it from userspace. But the
minimal unit for sysctl procfs read/write it sizeof(int).
In big endian system, the converting from/to  bool to/from int will cause
error for proc items.

This patch use a new proc_handler proc_dobool to fix it.

Signed-off-by: Jia He <hejianet@gmail.com>
Reviewed-by: Pan Xinhui <xinhui.pan@linux.vnet.ibm.com>
[thuth: Fix typo in commit message]
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:44 +01:00
..
clnt4xdr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clntlock.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clntproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clntxdr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
host.c fs/lockd: convert comma to semicolon 2024-11-19 12:27:28 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netns.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
procfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
procfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svc.c lockd: change the proc_handler for nsm_use_hostnames 2024-11-19 12:27:44 +01:00
svc4proc.c SUNRPC: Make trace_svc_process() display the RPC procedure symbolically 2024-11-19 12:27:28 +01:00
svclock.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svcproc.c SUNRPC: Make trace_svc_process() display the RPC procedure symbolically 2024-11-19 12:27:28 +01:00
svcshare.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svcsubs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svcxdr.h lockd: Common NLM XDR helpers 2024-11-19 12:27:40 +01:00
xdr.c lockd: Update the NLMv1 SHARE results encoder to use struct xdr_stream 2024-11-19 12:27:41 +01:00
xdr4.c lockd: Update the NLMv4 SHARE results encoder to use struct xdr_stream 2024-11-19 12:27:41 +01:00