mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
do_proc_readlink(): constify path
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
2d3430875a
commit
5b09c9fec0
1 changed files with 1 additions and 1 deletions
|
@ -1761,7 +1761,7 @@ out:
|
|||
return ERR_PTR(error);
|
||||
}
|
||||
|
||||
static int do_proc_readlink(struct path *path, char __user *buffer, int buflen)
|
||||
static int do_proc_readlink(const struct path *path, char __user *buffer, int buflen)
|
||||
{
|
||||
char *tmp = kmalloc(PATH_MAX, GFP_KERNEL);
|
||||
char *pathname;
|
||||
|
|
Loading…
Add table
Reference in a new issue