diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-08-04 13:19:18 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-09-01 17:39:49 -0400 |
commit | ea4af4aa03c3966c63231b4191da94497de8f034 (patch) | |
tree | bb0269a3fd4be1c6a7679578bce21aec5d79b18a /fs/namei.c | |
parent | bf2e1ae41731f940f9b977820e4c68454a639909 (diff) | |
download | linux-rpi-ea4af4aa03c3966c63231b4191da94497de8f034.tar.gz linux-rpi-ea4af4aa03c3966c63231b4191da94497de8f034.tar.bz2 linux-rpi-ea4af4aa03c3966c63231b4191da94497de8f034.zip |
nd_jump_link(): constify path
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c index 6a5ab1a6f01b..8533087e5dac 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -986,7 +986,7 @@ static int nd_jump_root(struct nameidata *nd) * Helper to directly jump to a known parsed path from ->get_link, * caller must have taken a reference to path beforehand. */ -int nd_jump_link(struct path *path) +int nd_jump_link(const struct path *path) { int error = -ELOOP; struct nameidata *nd = current->nameidata; |