Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b59091c0 authored by Al Viro's avatar Al Viro
Browse files

qstr: constify instances in vfat



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent dc12e909
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -652,8 +652,8 @@ static int vfat_build_slots(struct inode *dir, const unsigned char *name,
	return err;
}

static int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir,
			  int cluster, struct timespec *ts,
static int vfat_add_entry(struct inode *dir, const struct qstr *qname,
			  int is_dir, int cluster, struct timespec *ts,
			  struct fat_slot_info *sinfo)
{
	struct msdos_dir_slot *slots;
@@ -688,7 +688,7 @@ static int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir,
	return err;
}

static int vfat_find(struct inode *dir, struct qstr *qname,
static int vfat_find(struct inode *dir, const struct qstr *qname,
		     struct fat_slot_info *sinfo)
{
	unsigned int len = vfat_striptail_len(qname);