]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
landlock: Fix cosmetic change
authorMickaël Salaün <mic@digikod.net>
Sat, 19 Jul 2025 10:42:00 +0000 (12:42 +0200)
committerMickaël Salaün <mic@digikod.net>
Sat, 19 Jul 2025 10:44:16 +0000 (12:44 +0200)
This line removal should not be there and it makes it more difficult to
backport the following patch.

Cc: Günther Noack <gnoack@google.com>
Cc: Konstantin Meskhidze <konstantin.meskhidze@huawei.com>
Fixes: 7a11275c3787 ("landlock: Refactor layer helpers")
Link: https://lore.kernel.org/r/20250719104204.545188-2-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
security/landlock/fs.c

index 6fee7c20f64d471be41f068605d79a0dffd600a7..c04f8879ad03ce8a2d303a78dda30e0ab3354fb6 100644 (file)
@@ -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)) {