mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qstr: constify instances in vfat
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
dc12e90949
commit
b59091c04a
1 changed files with 3 additions and 3 deletions
|
|
@ -652,8 +652,8 @@ out_free:
|
|||
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 @@ cleanup:
|
|||
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue