diff options
author | Andrei Vagin <avagin@google.com> | 2023-12-13 22:44:39 -0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-12-21 13:17:54 +0100 |
commit | b5a78c7127f2007cfc7ad322b6ce0aa4bf347138 (patch) | |
tree | 4a9b00320febf3916dab075595411d5fe35c15f6 /fs/namei.c | |
parent | 3efdc78fdc21ab82694707eb234ab93f28d13ba8 (diff) |
selftests/overlayfs: verify device and inode numbers in /proc/pid/maps
When mapping a file on overlayfs, the file stored in ->vm_file is a
backing file whose f_inode is on the underlying filesystem. We need to
verify that /proc/pid/maps contains numbers of the overlayfs file, but
not its backing file.
Cc: Amir Goldstein <amir73il@gmail.com>
Cc: Alexander Mikhalitsyn <alexander@mihalicyn.com>
Signed-off-by: Andrei Vagin <avagin@google.com>
Link: https://lore.kernel.org/r/20231214064439.1023011-2-avagin@google.com
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions