mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 23:05:25 -04:00
do_mount_setattr(): constify path argument
Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -4859,7 +4859,7 @@ static void mount_setattr_commit(struct mount_kattr *kattr, struct mount *mnt)
|
||||
touch_mnt_namespace(mnt->mnt_ns);
|
||||
}
|
||||
|
||||
static int do_mount_setattr(struct path *path, struct mount_kattr *kattr)
|
||||
static int do_mount_setattr(const struct path *path, struct mount_kattr *kattr)
|
||||
{
|
||||
struct mount *mnt = real_mount(path->mnt);
|
||||
int err = 0;
|
||||
|
||||
Reference in New Issue
Block a user