Skip to content

Commit

Permalink
qstr: constify instances in adfs
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Jul 30, 2016
1 parent 1e95e9a commit 19a6d89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/adfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;
Expand Down

0 comments on commit 19a6d89

Please sign in to comment.