From: J. R. Okajima Date: Tue, 25 May 2010 23:10:14 +0000 (-0700) Subject: proc_dointvec: write a single value X-Git-Tag: v2.6.35-rc1~260^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=563b04671017ea00ba563ebeebdc36bce79b1b60;p=pandora-kernel.git 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 Reviewed-and-tested-by: WANG Cong Signed-off-by: David S. Miller --- Reading git-diff-tree failed