Re: [PATCH v3 bpf-next 2/5] landlock: Use path_walk_parent()
From: Tingmao Wang
Date: Sun Jun 08 2025 - 14:45:33 EST
On 6/6/25 22:30, Song Liu wrote:
> Use path_walk_parent() to walk a path up to its parent.
>
> No functional changes intended.
>
> Signed-off-by: Song Liu <song@xxxxxxxxxx>
There is also path walk code in collect_domain_accesses even though that
one doesn't walk pass mount points. Not sure if that one should be
updated to use this helper as well, or maybe fine to keep using
dget_parent.