This line removal should not be there and it makes it more difficult to backport the following patch. Cc: Günther Noack <gnoack@xxxxxxxxxx> Cc: Konstantin Meskhidze <konstantin.meskhidze@xxxxxxxxxx> Fixes: 7a11275c3787 ("landlock: Refactor layer helpers") Signed-off-by: Mickaël Salaün <mic@xxxxxxxxxxx> --- Changes since v2: - New patch. --- security/landlock/fs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/security/landlock/fs.c b/security/landlock/fs.c index 6fee7c20f64d..c04f8879ad03 100644 --- a/security/landlock/fs.c +++ b/security/landlock/fs.c @@ -895,6 +895,7 @@ static bool is_access_to_paths_allowed( /* Stops when a rule from each layer grants access. */ if (allowed_parent1 && allowed_parent2) break; + jump_up: if (walker_path.dentry == walker_path.mnt->mnt_root) { if (follow_up(&walker_path)) { -- 2.50.1