OpenCloudOS-Kernel/fs/kernfs
Tejun Heo e56ed358af 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>
2016-02-07 20:21:35 -08:00
..
Kconfig kernfs: add CONFIG_KERNFS 2014-02-07 16:08:57 -08:00
Makefile sysfs, kernfs: add skeletons for kernfs 2013-11-27 13:28:24 -08:00
dir.c kernfs: make kernfs_walk_ns() use kernfs_pr_cont_buf[] 2016-02-07 20:21:35 -08:00
file.c kernfs: remove outdated and confusing comment 2015-05-24 12:28:29 -07:00
inode.c tmpfs: listxattr should include POSIX ACL xattrs 2015-12-06 21:34:15 -05:00
kernfs-internal.h kernfs: make kernfs_get_inode() public 2015-06-18 16:54:28 -04:00
mount.c fs: deduplicate noop_backing_dev_info 2015-01-20 14:02:54 -07:00
symlink.c switch ->get_link() to delayed_call, kill ->put_link() 2015-12-30 13:01:03 -05:00