Re: [PATCH] proc_dointvec, write a single value

From: David Miller
Date: Tue May 25 2010 - 19:10:34 EST


From: Cong Wang <amwang@xxxxxxxxxx>
Date: Tue, 25 May 2010 20:23:47 +0800

> On 05/25/10 14:49, J. R. Okajima wrote:
>> 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@xxxxxxxxxxx>
>
> Reviewed-and-tested-by: WANG Cong <amwang@xxxxxxxxxx>

Since the regression causing change came in via the net tree
I'll integrate this fix too, applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/