Skip to content

Commit 19a6d89

Browse files
author
Al Viro
committed
qstr: constify instances in adfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 1e95e9a commit 19a6d89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/adfs/dir.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ adfs_dir_update(struct super_block *sb, struct object_info *obj, int wait)
101101
}
102102

103103
static int
104-
adfs_match(struct qstr *name, struct object_info *obj)
104+
adfs_match(const struct qstr *name, struct object_info *obj)
105105
{
106106
int i;
107107

@@ -126,7 +126,7 @@ adfs_match(struct qstr *name, struct object_info *obj)
126126
}
127127

128128
static int
129-
adfs_dir_lookup_byname(struct inode *inode, struct qstr *name, struct object_info *obj)
129+
adfs_dir_lookup_byname(struct inode *inode, const struct qstr *name, struct object_info *obj)
130130
{
131131
struct super_block *sb = inode->i_sb;
132132
const struct adfs_dir_ops *ops = ADFS_SB(sb)->s_dir;

0 commit comments

Comments
 (0)