提交 1e95e9a0 编写于 作者: A Al Viro

qstr: constify instances in lustre

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 185de68f
...@@ -783,7 +783,7 @@ static int sa_args_init(struct inode *dir, struct inode *child, ...@@ -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 ll_sa_entry *entry, struct md_enqueue_info **pmi,
struct ldlm_enqueue_info **pei) 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 ll_inode_info *lli = ll_i2info(dir);
struct md_enqueue_info *minfo; struct md_enqueue_info *minfo;
struct ldlm_enqueue_info *einfo; struct ldlm_enqueue_info *einfo;
...@@ -1342,7 +1342,7 @@ enum { ...@@ -1342,7 +1342,7 @@ enum {
static int is_first_dirent(struct inode *dir, struct dentry *dentry) static int is_first_dirent(struct inode *dir, struct dentry *dentry)
{ {
struct ll_dir_chain chain; struct ll_dir_chain chain;
struct qstr *target = &dentry->d_name; const struct qstr *target = &dentry->d_name;
struct page *page; struct page *page;
__u64 pos = 0; __u64 pos = 0;
int dot_de; int dot_de;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册