do_set_group(): constify path arguments

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2025-07-06 17:09:39 -04:00
parent 08404199f3
commit 6e024a0e28

View File

@@ -3353,7 +3353,7 @@ static inline int tree_contains_unbindable(struct mount *mnt)
return 0;
}
static int do_set_group(struct path *from_path, struct path *to_path)
static int do_set_group(const struct path *from_path, const struct path *to_path)
{
struct mount *from = real_mount(from_path->mnt);
struct mount *to = real_mount(to_path->mnt);