diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-08-04 19:19:18 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-09-01 23:39:49 +0200 |
commit | ea4af4aa03c3966c63231b4191da94497de8f034 (patch) | |
tree | bb0269a3fd4be1c6a7679578bce21aec5d79b18a /fs/namei.c | |
parent | audit_init_parent(): constify path (diff) | |
download | linux-ea4af4aa03c3966c63231b4191da94497de8f034.tar.xz linux-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; |