Skip to content

Commit 6e024a0

Browse files
author
Al Viro
committed
do_set_group(): constify path arguments
Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 0840419 commit 6e024a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/namespace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3353,7 +3353,7 @@ static inline int tree_contains_unbindable(struct mount *mnt)
33533353
return 0;
33543354
}
33553355

3356-
static int do_set_group(struct path *from_path, struct path *to_path)
3356+
static int do_set_group(const struct path *from_path, const struct path *to_path)
33573357
{
33583358
struct mount *from = real_mount(from_path->mnt);
33593359
struct mount *to = real_mount(to_path->mnt);

0 commit comments

Comments
 (0)