From: Sam Vilain Date: Mon, 2 Oct 2006 09:18:04 +0000 (-0700) Subject: [PATCH] proc: sysctl: add _proc_do_string helper X-Git-Tag: v2.6.19-rc1~420 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5dd3d6fadf98a53b35d20427ca198fda42f1251;p=pandora-kernel.git [PATCH] proc: sysctl: add _proc_do_string helper The logic in proc_do_string is worth re-using without passing in a ctl_table structure (say, we want to calculate a pointer and pass that in instead); pass in the two fields it uses from that structure as explicit arguments. Signed-off-by: Sam Vilain Cc: Serge E. Hallyn Cc: Kirill Korotaev Cc: "Eric W. Biederman" Cc: Herbert Poetzl Cc: Andrey Savochkin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed