Commit 52dfb8ac authored by Sage Weil's avatar Sage Weil

ceph: constify dentry_operations

This makes checkpatch happy.
Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 213c99ee
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
const struct inode_operations ceph_dir_iops; const struct inode_operations ceph_dir_iops;
const struct file_operations ceph_dir_fops; const struct file_operations ceph_dir_fops;
struct dentry_operations ceph_dentry_ops; const struct dentry_operations ceph_dentry_ops;
/* /*
* Initialize ceph dentry state. * Initialize ceph dentry state.
...@@ -1241,16 +1241,16 @@ const struct inode_operations ceph_dir_iops = { ...@@ -1241,16 +1241,16 @@ const struct inode_operations ceph_dir_iops = {
.create = ceph_create, .create = ceph_create,
}; };
struct dentry_operations ceph_dentry_ops = { const struct dentry_operations ceph_dentry_ops = {
.d_revalidate = ceph_d_revalidate, .d_revalidate = ceph_d_revalidate,
.d_release = ceph_dentry_release, .d_release = ceph_dentry_release,
}; };
struct dentry_operations ceph_snapdir_dentry_ops = { const struct dentry_operations ceph_snapdir_dentry_ops = {
.d_revalidate = ceph_snapdir_d_revalidate, .d_revalidate = ceph_snapdir_d_revalidate,
.d_release = ceph_dentry_release, .d_release = ceph_dentry_release,
}; };
struct dentry_operations ceph_snap_dentry_ops = { const struct dentry_operations ceph_snap_dentry_ops = {
.d_release = ceph_dentry_release, .d_release = ceph_dentry_release,
}; };
...@@ -861,7 +861,7 @@ extern void ceph_release_page_vector(struct page **pages, int num_pages); ...@@ -861,7 +861,7 @@ extern void ceph_release_page_vector(struct page **pages, int num_pages);
/* dir.c */ /* dir.c */
extern const struct file_operations ceph_dir_fops; extern const struct file_operations ceph_dir_fops;
extern const struct inode_operations ceph_dir_iops; extern const struct inode_operations ceph_dir_iops;
extern struct dentry_operations ceph_dentry_ops, ceph_snap_dentry_ops, extern const struct dentry_operations ceph_dentry_ops, ceph_snap_dentry_ops,
ceph_snapdir_dentry_ops; ceph_snapdir_dentry_ops;
extern int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry); extern int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment