File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -358,8 +358,8 @@ ext2_readdir(struct file *file, struct dir_context *ctx)
358
358
* and the entry itself. Page is returned mapped and unlocked.
359
359
* Entry is guaranteed to be valid.
360
360
*/
361
- struct ext2_dir_entry_2 * ext2_find_entry (struct inode * dir ,
362
- struct qstr * child , struct page * * res_page )
361
+ struct ext2_dir_entry_2 * ext2_find_entry (struct inode * dir ,
362
+ const struct qstr * child , struct page * * res_page )
363
363
{
364
364
const char * name = child -> name ;
365
365
int namelen = child -> len ;
@@ -435,7 +435,7 @@ struct ext2_dir_entry_2 * ext2_dotdot (struct inode *dir, struct page **p)
435
435
return de ;
436
436
}
437
437
438
- ino_t ext2_inode_by_name (struct inode * dir , struct qstr * child )
438
+ ino_t ext2_inode_by_name (struct inode * dir , const struct qstr * child )
439
439
{
440
440
ino_t res = 0 ;
441
441
struct ext2_dir_entry_2 * de ;
Original file line number Diff line number Diff line change @@ -754,9 +754,9 @@ extern void ext2_rsv_window_add(struct super_block *sb, struct ext2_reserve_wind
754
754
755
755
/* dir.c */
756
756
extern int ext2_add_link (struct dentry * , struct inode * );
757
- extern ino_t ext2_inode_by_name (struct inode * , struct qstr * );
757
+ extern ino_t ext2_inode_by_name (struct inode * , const struct qstr * );
758
758
extern int ext2_make_empty (struct inode * , struct inode * );
759
- extern struct ext2_dir_entry_2 * ext2_find_entry (struct inode * ,struct qstr * , struct page * * );
759
+ extern struct ext2_dir_entry_2 * ext2_find_entry (struct inode * ,const struct qstr * , struct page * * );
760
760
extern int ext2_delete_entry (struct ext2_dir_entry_2 * , struct page * );
761
761
extern int ext2_empty_dir (struct inode * );
762
762
extern struct ext2_dir_entry_2 * ext2_dotdot (struct inode * , struct page * * );
You can’t perform that action at this time.
0 commit comments