Skip to content
Commit 563b0467 authored by J. R. Okajima's avatar J. R. Okajima Committed by David S. Miller
Browse files

proc_dointvec: write a single value

The commit 00b7c339


"sysctl: refactor integer handling proc code"
modified the behaviour of writing to /proc.
Before the commit, write("1\n") to /proc/sys/kernel/printk succeeded. But
now it returns EINVAL.

This commit supports writing a single value to a multi-valued entry.

Signed-off-by: default avatarJ. R. Okajima <hooanon05@yahoo.co.jp>
Reviewed-and-tested-by: default avatarWANG Cong <amwang@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dd7496f2
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