File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -986,7 +986,7 @@ static int nd_jump_root(struct nameidata *nd)
986
986
* Helper to directly jump to a known parsed path from ->get_link,
987
987
* caller must have taken a reference to path beforehand.
988
988
*/
989
- int nd_jump_link (struct path * path )
989
+ int nd_jump_link (const struct path * path )
990
990
{
991
991
int error = - ELOOP ;
992
992
struct nameidata * nd = current -> nameidata ;
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ extern int follow_up(struct path *);
83
83
extern struct dentry * lock_rename (struct dentry * , struct dentry * );
84
84
extern void unlock_rename (struct dentry * , struct dentry * );
85
85
86
- extern int __must_check nd_jump_link (struct path * path );
86
+ extern int __must_check nd_jump_link (const struct path * path );
87
87
88
88
static inline void nd_terminate_link (void * name , size_t len , size_t maxlen )
89
89
{
You can’t perform that action at this time.
0 commit comments