diff options
author | Sam Vilain <sam.vilain@catalyst.net.nz> | 2006-10-02 02:18:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 07:57:20 -0700 |
commit | f5dd3d6fadf98a53b35d20427ca198fda42f1251 (patch) | |
tree | 2e1deb1d0fb69002f459ae8dc90b2d26c24ca480 /kernel/capability.c | |
parent | 12fd352038c037ba3a7071a2ca8597c55114abc3 (diff) |
[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 <sam.vilain@catalyst.net.nz>
Cc: Serge E. Hallyn <serue@us.ibm.com>
Cc: Kirill Korotaev <dev@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Cc: Andrey Savochkin <saw@sw.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions