diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-07-21 04:43:14 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-07-30 18:25:47 +0200 |
commit | b59091c04ae02bc37fab86937e7aa998787d6bf1 (patch) | |
tree | 7ea83e166f9f330fce20ed3edd33bad575e8b041 /fs/fat | |
parent | qstr: constify instances in procfs (diff) | |
download | linux-b59091c04ae02bc37fab86937e7aa998787d6bf1.tar.xz linux-b59091c04ae02bc37fab86937e7aa998787d6bf1.zip |
qstr: constify instances in vfat
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fat')
-rw-r--r-- | fs/fat/namei_vfat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fat/namei_vfat.c b/fs/fat/namei_vfat.c index 7092584f424a..1d16ed5edabf 100644 --- a/fs/fat/namei_vfat.c +++ b/fs/fat/namei_vfat.c @@ -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); |