Skip to content

Commit

Permalink
qstr: constify instances in lustre
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jul 30, 2016
1 parent 185de68 commit 1e95e9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/lustre/lustre/llite/statahead.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ static int sa_args_init(struct inode *dir, struct inode *child,
struct ll_sa_entry *entry, struct md_enqueue_info **pmi,
struct ldlm_enqueue_info **pei)
{
struct qstr *qstr = &entry->se_qstr;
const struct qstr *qstr = &entry->se_qstr;
struct ll_inode_info *lli = ll_i2info(dir);
struct md_enqueue_info *minfo;
struct ldlm_enqueue_info *einfo;
Expand Down Expand Up @@ -1342,7 +1342,7 @@ enum {
static int is_first_dirent(struct inode *dir, struct dentry *dentry)
{
struct ll_dir_chain chain;
struct qstr *target = &dentry->d_name;
const struct qstr *target = &dentry->d_name;
struct page *page;
__u64 pos = 0;
int dot_de;
Expand Down

0 comments on commit 1e95e9a

Please sign in to comment.