@@ -2515,7 +2515,7 @@ static int path_parentat(struct nameidata *nd, unsigned flags,
2515
2515
}
2516
2516
2517
2517
/* Note: this does not consume "name" */
2518
- static int __filename_parentat (int dfd , struct filename * name ,
2518
+ static int filename_parentat (int dfd , struct filename * name ,
2519
2519
unsigned int flags , struct path * parent ,
2520
2520
struct qstr * last , int * type )
2521
2521
{
@@ -2546,7 +2546,7 @@ static struct dentry *__kern_path_locked(struct filename *name, struct path *pat
2546
2546
struct qstr last ;
2547
2547
int type , error ;
2548
2548
2549
- error = __filename_parentat (AT_FDCWD , name , 0 , path , & last , & type );
2549
+ error = filename_parentat (AT_FDCWD , name , 0 , path , & last , & type );
2550
2550
if (error )
2551
2551
return ERR_PTR (error );
2552
2552
if (unlikely (type != LAST_NORM )) {
@@ -3633,7 +3633,7 @@ static struct dentry *__filename_create(int dfd, struct filename *name,
3633
3633
*/
3634
3634
lookup_flags &= LOOKUP_REVAL ;
3635
3635
3636
- error = __filename_parentat (dfd , name , lookup_flags , path , & last , & type );
3636
+ error = filename_parentat (dfd , name , lookup_flags , path , & last , & type );
3637
3637
if (error )
3638
3638
return ERR_PTR (error );
3639
3639
@@ -3995,7 +3995,7 @@ int do_rmdir(int dfd, struct filename *name)
3995
3995
int type ;
3996
3996
unsigned int lookup_flags = 0 ;
3997
3997
retry :
3998
- error = __filename_parentat (dfd , name , lookup_flags , & path , & last , & type );
3998
+ error = filename_parentat (dfd , name , lookup_flags , & path , & last , & type );
3999
3999
if (error )
4000
4000
goto exit1 ;
4001
4001
@@ -4136,7 +4136,7 @@ int do_unlinkat(int dfd, struct filename *name)
4136
4136
struct inode * delegated_inode = NULL ;
4137
4137
unsigned int lookup_flags = 0 ;
4138
4138
retry :
4139
- error = __filename_parentat (dfd , name , lookup_flags , & path , & last , & type );
4139
+ error = filename_parentat (dfd , name , lookup_flags , & path , & last , & type );
4140
4140
if (error )
4141
4141
goto exit1 ;
4142
4142
@@ -4688,13 +4688,13 @@ int do_renameat2(int olddfd, struct filename *from, int newdfd,
4688
4688
target_flags = 0 ;
4689
4689
4690
4690
retry :
4691
- error = __filename_parentat (olddfd , from , lookup_flags , & old_path ,
4692
- & old_last , & old_type );
4691
+ error = filename_parentat (olddfd , from , lookup_flags , & old_path ,
4692
+ & old_last , & old_type );
4693
4693
if (error )
4694
4694
goto put_names ;
4695
4695
4696
- error = __filename_parentat (newdfd , to , lookup_flags , & new_path , & new_last ,
4697
- & new_type );
4696
+ error = filename_parentat (newdfd , to , lookup_flags , & new_path , & new_last ,
4697
+ & new_type );
4698
4698
if (error )
4699
4699
goto exit1 ;
4700
4700
0 commit comments