summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2026-11-07 14:40:10 +0100
committerAmir Goldstein <amir73il@gmail.com>2026-11-10 15:47:33 +0100
commit011f67b2b5c366679af023261ee02e284d534a96 (patch)
tree4a9762cb916f42c1ca8c2bd0ec8eb0edbab642dd /scripts/Makefile.thinlto
parentf1b7e5534854043077bb72afc8d87ad1e0b283e0 (diff)
ovl: do not check the deferred lowerdata redirect on index lookup
When a lower metacopy has an absolute redirect into a data-only layer, ovl_lookup_layers() defers the data lookup and skips ovl_check_follow_redirect(), but leaves the redirect in d->redirect. If there is no upper dentry and a sibling hardlink was already copied up to the index dir, the index branch calls ovl_check_follow_redirect() again and, with redirect_dir=nofollow (e.g. forced by userxattr), fails the lookup with -EPERM because of the lower data redirect. Take the lowerdata redirect out of d->redirect at the point where the data lookup is deferred, so that the index check only validates the redirect and metacopy state of the index entry. Fixes: 5ef7bcdeecc9 ("ovl: relax redirect/metacopy requirements for lower -> data redirect") Closes: https://sashiko.dev/#/bug/linux-29bea9ea-5376-4e54-88f6-04dabce4db70 Cc: stable@vger.kernel.org Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions