diff options
author | J. R. Okajima <hooanon05@yahoo.co.jp> | 2010-05-26 01:10:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-26 01:10:14 +0200 |
commit | 563b04671017ea00ba563ebeebdc36bce79b1b60 (patch) | |
tree | 02d6ea1c9a3ae42b10f328aa0b51740677456793 /init/main.c | |
parent | hso: add support for new products (diff) | |
download | linux-563b04671017ea00ba563ebeebdc36bce79b1b60.tar.xz linux-563b04671017ea00ba563ebeebdc36bce79b1b60.zip |
proc_dointvec: write a single value
The commit 00b7c3395aec3df43de5bd02a3c5a099ca51169f
"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: J. R. Okajima <hooanon05@yahoo.co.jp>
Reviewed-and-tested-by: WANG Cong <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions