mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
constify dentry_operations: 9p
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e16404ed0f
commit
a488257ce5
2 changed files with 4 additions and 4 deletions
|
@ -41,8 +41,8 @@ extern struct file_system_type v9fs_fs_type;
|
||||||
extern const struct address_space_operations v9fs_addr_operations;
|
extern const struct address_space_operations v9fs_addr_operations;
|
||||||
extern const struct file_operations v9fs_file_operations;
|
extern const struct file_operations v9fs_file_operations;
|
||||||
extern const struct file_operations v9fs_dir_operations;
|
extern const struct file_operations v9fs_dir_operations;
|
||||||
extern struct dentry_operations v9fs_dentry_operations;
|
extern const struct dentry_operations v9fs_dentry_operations;
|
||||||
extern struct dentry_operations v9fs_cached_dentry_operations;
|
extern const struct dentry_operations v9fs_cached_dentry_operations;
|
||||||
|
|
||||||
struct inode *v9fs_get_inode(struct super_block *sb, int mode);
|
struct inode *v9fs_get_inode(struct super_block *sb, int mode);
|
||||||
ino_t v9fs_qid2ino(struct p9_qid *qid);
|
ino_t v9fs_qid2ino(struct p9_qid *qid);
|
||||||
|
|
|
@ -104,12 +104,12 @@ void v9fs_dentry_release(struct dentry *dentry)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct dentry_operations v9fs_cached_dentry_operations = {
|
const struct dentry_operations v9fs_cached_dentry_operations = {
|
||||||
.d_delete = v9fs_cached_dentry_delete,
|
.d_delete = v9fs_cached_dentry_delete,
|
||||||
.d_release = v9fs_dentry_release,
|
.d_release = v9fs_dentry_release,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct dentry_operations v9fs_dentry_operations = {
|
const struct dentry_operations v9fs_dentry_operations = {
|
||||||
.d_delete = v9fs_dentry_delete,
|
.d_delete = v9fs_dentry_delete,
|
||||||
.d_release = v9fs_dentry_release,
|
.d_release = v9fs_dentry_release,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue