]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/proc/proc_sysctl.c
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)
commit6980128fe1b834c92a85e556ca8198030f0d8d01
tree2814b1771a8e70538215ea47e104e2ab89ba4048
parent7ec66d06362da7684a4948c4c2bf1f8546425df4
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