]> git.baikalelectronics.ru Git - kernel.git/commit
sysctl: Add sysctl_print_dir and use it in get_subdir
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 22 Jan 2012 04:09:45 +0000 (20:09 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 25 Jan 2012 00:40:29 +0000 (16:40 -0800)
commitca794882408e35ae4532b2607470b79b703b0ad9
tree2814b1771a8e70538215ea47e104e2ab89ba4048
parent39be7f2639e725442f5e68899ea32363bbe49c8c
sysctl: Add sysctl_print_dir and use it in get_subdir

When there are errors it is very nice to know the full sysctl path.
Add a simple function that computes the sysctl path and prints it
out.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
fs/proc/proc_sysctl.c