# Re: \[PATCH\] kernfs: make kernfs\_walk\_ns() use kernfs\_pr\_cont\_buf\[\]

- From: Greg Kroah-Hartman \<hidden\>
- Date: 2016-01-15 22:05:25 
- List: netdev
- Page: https://ratatoskr.run/netdev/2016/01/4661645
- Thread: https://ratatoskr.run/netdev/2015/12/4637114/t.md

```text
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
```
