提交 b59091c0 编写于 作者: A Al Viro

qstr: constify instances in vfat

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 dc12e909
...@@ -652,8 +652,8 @@ static int vfat_build_slots(struct inode *dir, const unsigned char *name, ...@@ -652,8 +652,8 @@ static int vfat_build_slots(struct inode *dir, const unsigned char *name,
return err; return err;
} }
static int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir, static int vfat_add_entry(struct inode *dir, const struct qstr *qname,
int cluster, struct timespec *ts, int is_dir, int cluster, struct timespec *ts,
struct fat_slot_info *sinfo) struct fat_slot_info *sinfo)
{ {
struct msdos_dir_slot *slots; struct msdos_dir_slot *slots;
...@@ -688,7 +688,7 @@ static int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir, ...@@ -688,7 +688,7 @@ static int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir,
return err; 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) struct fat_slot_info *sinfo)
{ {
unsigned int len = vfat_striptail_len(qname); unsigned int len = vfat_striptail_len(qname);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册