diff options
| author | Daejun Park <daejun7.park@samsung.com> | 2026-11-12 12:58:09 +0900 |
|---|---|---|
| committer | Amir Goldstein <amir73il@gmail.com> | 2026-11-12 11:41:28 +0100 |
| commit | 86e2facd8630cc2fdec6ea80c53e370b26b441d9 (patch) | |
| tree | 9ed6134ff1547aa5640106bbce97f0687ce6da9c /tools/perf/scripts | |
| parent | 0d5e729c515f4ae4eacc179dbcf350d9b499a161 (diff) | |
ovl: bump the impure dir version when linking a file with origin
Linking a file with copy up origin into a non-merge impure dir does
not bump the dir version. readdir then reuses the impure dir cache
built before the link. It reports the upper inode number as d_ino of
the new link, not st_ino.
Pass whether the linked file has an origin to ovl_dir_modified(), as
rename and unlink do.
Reported-by: Sashiko <sashiko-bot@kernel.org>
Closes: https://sashiko.dev/#/bug/linux-98f207b6-3936-48e9-a40f-88f20be4db7b
Fixes: 4edb83bb1041 ("ovl: constant d_ino for non-merge dirs")
Cc: stable@vger.kernel.org
Signed-off-by: Daejun Park <daejun7.park@samsung.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
