Skip to content

Commit 8be8770

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

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
@@ -1010,7 +1010,7 @@ static void unpin_mountpoint(struct pinned_mountpoint *m)
10101010
}
10111011
}
10121012

1013-
static inline int check_mnt(struct mount *mnt)
1013+
static inline int check_mnt(const struct mount *mnt)
10141014
{
10151015
return mnt->mnt_ns == current->nsproxy->mnt_ns;
10161016
}

0 commit comments

Comments
 (0)