linux/arch/arc/kernel
Amir Goldstein 08582d678f
fs: create helper file_user_path() for user displayed mapped file path
Overlayfs uses backing files with "fake" overlayfs f_path and "real"
underlying f_inode, in order to use underlying inode aops for mapped
files and to display the overlayfs path in /proc/<pid>/maps.

In preparation for storing the overlayfs "fake" path instead of the
underlying "real" path in struct backing_file, define a noop helper
file_user_path() that returns f_path for now.

Use the new helper in procfs and kernel logs whenever a path of a
mapped file is displayed to users.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/r/20231009153712.1566422-3-amir73il@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
2023-10-19 11:03:15 +02:00
..
.gitignore
Makefile ARC: __switch_to: asm with dwarf ops (vs. inline asm) 2023-08-17 20:31:59 -07:00
arc_hostlink.c
arcksyms.c
asm-offsets.c ARC: pt_regs: create seperate type for ecr 2023-08-18 10:30:47 -07:00
ctx_sw_asm.S ARC: __switch_to: move ksp to thread_info from thread_struct 2023-08-17 20:31:59 -07:00
devtree.c
disasm.c
entry-arcv2.S ARC: entry: Add more common chores to EXCEPTION_PROLOGUE 2023-08-18 10:30:07 -07:00
entry-compact.S ARC: entry: Add more common chores to EXCEPTION_PROLOGUE 2023-08-18 10:30:07 -07:00
entry.S ARC: entry: Add more common chores to EXCEPTION_PROLOGUE 2023-08-18 10:30:07 -07:00
fpu.c
head.S
intc-arcv2.c
intc-compact.c
irq.c
jump_label.c
kgdb.c ARC: pt_regs: create seperate type for ecr 2023-08-18 10:30:47 -07:00
kprobes.c
mcip.c ARC: boot log: eliminate struct cpuinfo_arc #3: don't export 2023-08-17 20:31:59 -07:00
module.c
perf_event.c
process.c ARC: __switch_to: move ksp to thread_info from thread_struct 2023-08-17 20:31:59 -07:00
ptrace.c ARC: pt_regs: create seperate type for ecr 2023-08-18 10:30:47 -07:00
reset.c
setup.c ARC: boot log: fix warning 2023-08-23 22:36:19 -07:00
signal.c
smp.c
stacktrace.c
sys.c
traps.c ARC: pt_regs: create seperate type for ecr 2023-08-18 10:30:47 -07:00
troubleshoot.c fs: create helper file_user_path() for user displayed mapped file path 2023-10-19 11:03:15 +02:00
unaligned.c
unwind.c
vmlinux.lds.S