Re: [PATCH] kernfs: make kernfs_walk_ns() use kernfs_pr_cont_buf[]
From: Greg Kroah-Hartman <hidden>
Date: 2016-01-15 22:05:25
Also in:
lkml, netdev, netfilter-devel
From: Greg Kroah-Hartman <hidden>
Date: 2016-01-15 22:05:25
Also in:
lkml, netdev, netfilter-devel
On Fri, Jan 15, 2016 at 12:30:14PM -0500, Tejun Heo wrote:
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 <redacted> Reported-by: Geert Uytterhoeven <redacted> --- Hello, Greg, can you please route this one?
Thanks, will take this after 4.5-rc1 is out. greg k-h