Skip to content

Commit

Permalink
qstr: constify instances in vfat
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jul 30, 2016
1 parent dc12e90 commit b59091c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/fat/namei_vfat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b59091c

Please sign in to comment.