Commit 1d712590 authored by Jinliang Zheng's avatar Jinliang Zheng Committed by Greg Kroah-Hartman
Browse files

fs: fix proc_handler for sysctl_nr_open



[ Upstream commit d727935c ]

Use proc_douintvec_minmax() instead of proc_dointvec_minmax() to handle
sysctl_nr_open, because its data type is unsigned int, not int.

Fixes: 9b80a184 ("fs/file: more unsigned file descriptors")
Signed-off-by: default avatarJinliang Zheng <alexjlzheng@tencent.com>
Link: https://lore.kernel.org/r/20241124034636.325337-1-alexjlzheng@tencent.com


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1a443fb2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment