aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/debugfs.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2016-01-15 12:30:14 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 20:21:35 -0800
commite56ed358afd81554e668aaa974d3f9ed201fa10d (patch)
treee5a9a4f215f796ed52d3431353b6eb9a28203a9e /include/linux/debugfs.h
parentLinux 4.5-rc3 (diff)
downloadlinux-dev-e56ed358afd81554e668aaa974d3f9ed201fa10d.tar.xz
linux-dev-e56ed358afd81554e668aaa974d3f9ed201fa10d.zip
kernfs: make kernfs_walk_ns() use kernfs_pr_cont_buf[]
kernfs_walk_ns() uses a static path_buf[PATH_MAX] to separate out path components. Keeping around the 4k buffer just for kernfs_walk_ns() is wasteful. This patch makes it piggyback on kernfs_pr_cont_buf[] instead. This requires kernfs_walk_ns() to hold kernfs_rename_lock. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugfs.h')
0 files changed, 0 insertions, 0 deletions