diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-07-20 23:23:32 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-07-30 12:25:53 -0400 |
commit | 19a6d89de2f10ee3b18c3b9fd6c7c2e249a30d71 (patch) | |
tree | 1db39c15ec7f7e6a3919e216ea9ca818cccdd65a /fs/adfs | |
parent | 1e95e9a0b7dd0e62a759e00329a106735bbcabd6 (diff) |
qstr: constify instances in adfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/adfs')
-rw-r--r-- | fs/adfs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/adfs/dir.c b/fs/adfs/dir.c index fd4cf2c48e48..62ee2cb8163b 100644 --- a/fs/adfs/dir.c +++ b/fs/adfs/dir.c @@ -101,7 +101,7 @@ out: } 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; |