Skip to content

Commit b59091c

Browse files
author
Al Viro
committed
qstr: constify instances in vfat
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent dc12e90 commit b59091c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fs/fat/namei_vfat.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,8 @@ static int vfat_build_slots(struct inode *dir, const unsigned char *name,
652652
return err;
653653
}
654654

655-
static int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir,
656-
int cluster, struct timespec *ts,
655+
static int vfat_add_entry(struct inode *dir, const struct qstr *qname,
656+
int is_dir, int cluster, struct timespec *ts,
657657
struct fat_slot_info *sinfo)
658658
{
659659
struct msdos_dir_slot *slots;
@@ -688,7 +688,7 @@ static int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir,
688688
return err;
689689
}
690690

691-
static int vfat_find(struct inode *dir, struct qstr *qname,
691+
static int vfat_find(struct inode *dir, const struct qstr *qname,
692692
struct fat_slot_info *sinfo)
693693
{
694694
unsigned int len = vfat_striptail_len(qname);

0 commit comments

Comments
 (0)