diff options
| author | Amir Goldstein <[email protected]> | 2023-10-09 15:37:11 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-10-19 09:03:15 +0000 |
| commit | 08582d678fcf11fc86188f0b92239d3d49667d8e (patch) | |
| tree | c4cc4f56b752f97a3eb90f2886904b49d72028c9 /tools/net/ynl/generated/devlink-user.c | |
| parent | fs: get mnt_writers count for an open backing file's real path (diff) | |
| download | kernel-08582d678fcf11fc86188f0b92239d3d49667d8e.tar.gz kernel-08582d678fcf11fc86188f0b92239d3d49667d8e.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions
