aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2018-01-03 19:34:45 +0200
committerMiklos Szeredi <[email protected]>2018-01-24 10:18:19 +0100
commit9678e630305724487f1fc101d6b83c383ff9cc90 (patch)
tree553bc1c4c744236395c6eb0613b69fab1d4903b6 /tools/perf/scripts/python/sched-migration.py
parenta5a927a7c82e28ea76599dee4019c41e372c911f (diff)
ovl: fix inconsistent d_ino for legacy merge dir
For a merge dir that was copied up before v4.12 or that was hand crafted offline (e.g. mkdir {upper/lower}/dir), upper dir does not contain the 'trusted.overlay.origin' xattr. In that case, stat(2) on the merge dir returns the lower dir st_ino, but getdents(2) returns the upper dir d_ino. After this change, on merge dir lookup, missing origin xattr on upper dir will be fixed and 'impure' xattr will be fixed on parent of the legacy merge dir. Suggested-by: zhangyi (F) <[email protected]> Reviewed-by: zhangyi (F) <[email protected]> Signed-off-by: Amir Goldstein <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions