mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
qstr: constify instances in adfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
1e95e9a0b7
commit
19a6d89de2
1 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ adfs_dir_update(struct super_block *sb, struct object_info *obj, int wait)
|
|||
}
|
||||
|
||||
static int
|
||||
adfs_match(struct qstr *name, struct object_info *obj)
|
||||
adfs_match(const struct qstr *name, struct object_info *obj)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
@ -126,7 +126,7 @@ adfs_match(struct qstr *name, struct object_info *obj)
|
|||
}
|
||||
|
||||
static int
|
||||
adfs_dir_lookup_byname(struct inode *inode, struct qstr *name, struct object_info *obj)
|
||||
adfs_dir_lookup_byname(struct inode *inode, const struct qstr *name, struct object_info *obj)
|
||||
{
|
||||
struct super_block *sb = inode->i_sb;
|
||||
const struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir;
|
||||
|
|
Loading…
Reference in a new issue