namespace: extract show_path() helper
authorMiklos Szeredi <mszeredi@redhat.com>
Wed, 25 Oct 2023 14:02:01 +0000 (16:02 +0200)
committerChristian Brauner <brauner@kernel.org>
Sat, 18 Nov 2023 13:56:16 +0000 (14:56 +0100)
commit56c94c626785001dbb683312725b7d87c6ec6a91
treefaefe8f7ce06290bf63a5a72928062601a34b439
parent2eea9ce4310d8c0f8ef1dbe7b0e7d9219ff02b97
namespace: extract show_path() helper

To be used by the statmount(2) syscall as well.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Link: https://lore.kernel.org/r/20231025140205.3586473-4-mszeredi@redhat.com
Reviewed-by: Ian Kent <raven@themaw.net>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/internal.h
fs/namespace.c
fs/proc_namespace.c