diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-07-06 17:09:39 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-15 21:26:43 -0400 |
| commit | 6e024a0e280e1ce3c18579b73735cf78bb7f1ead (patch) | |
| tree | e05e932f060927a80efc69aed5801cec52193570 /fs/namespace.c | |
| parent | 08404199f3f232828dcd6614e34a0c154cddb13d (diff) | |
do_set_group(): constify path arguments
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
| -rw-r--r-- | fs/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index 5d5482a82b4d..62cffd3b6de2 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -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); |