diff options
| -rw-r--r-- | fs/fat/namei_vfat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fat/namei_vfat.c b/fs/fat/namei_vfat.c index 7092584f424a..1d16ed5edabf 100644 --- a/fs/fat/namei_vfat.c +++ b/fs/fat/namei_vfat.c | |||
| @@ -652,8 +652,8 @@ out_free: | |||
| 652 | return err; | 652 | return err; |
| 653 | } | 653 | } |
| 654 | 654 | ||
| 655 | static int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir, | 655 | static int vfat_add_entry(struct inode *dir, const struct qstr *qname, |
| 656 | int cluster, struct timespec *ts, | 656 | int is_dir, int cluster, struct timespec *ts, |
| 657 | struct fat_slot_info *sinfo) | 657 | struct fat_slot_info *sinfo) |
| 658 | { | 658 | { |
| 659 | struct msdos_dir_slot *slots; | 659 | struct msdos_dir_slot *slots; |
| @@ -688,7 +688,7 @@ cleanup: | |||
| 688 | return err; | 688 | return err; |
| 689 | } | 689 | } |
| 690 | 690 | ||
| 691 | static int vfat_find(struct inode *dir, struct qstr *qname, | 691 | static int vfat_find(struct inode *dir, const struct qstr *qname, |
| 692 | struct fat_slot_info *sinfo) | 692 | struct fat_slot_info *sinfo) |
| 693 | { | 693 | { |
| 694 | unsigned int len = vfat_striptail_len(qname); | 694 | unsigned int len = vfat_striptail_len(qname); |
