Skip to content

Commit 0840419

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

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
@@ -4859,7 +4859,7 @@ static void mount_setattr_commit(struct mount_kattr *kattr, struct mount *mnt)
48594859
touch_mnt_namespace(mnt->mnt_ns);
48604860
}
48614861

4862-
static int do_mount_setattr(struct path *path, struct mount_kattr *kattr)
4862+
static int do_mount_setattr(const struct path *path, struct mount_kattr *kattr)
48634863
{
48644864
struct mount *mnt = real_mount(path->mnt);
48654865
int err = 0;

0 commit comments

Comments
 (0)