diff options
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/ceph/dir.c | 8 | ||||
| -rw-r--r-- | fs/ceph/super.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c index 0ec6e67533ef..67bbb41d5526 100644 --- a/fs/ceph/dir.c +++ b/fs/ceph/dir.c | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | 27 | ||
| 28 | const struct inode_operations ceph_dir_iops; | 28 | const struct inode_operations ceph_dir_iops; |
| 29 | const struct file_operations ceph_dir_fops; | 29 | const struct file_operations ceph_dir_fops; |
| 30 | struct dentry_operations ceph_dentry_ops; | 30 | const struct dentry_operations ceph_dentry_ops; |
| 31 | 31 | ||
| 32 | /* | 32 | /* |
| 33 | * Initialize ceph dentry state. | 33 | * Initialize ceph dentry state. |
| @@ -1241,16 +1241,16 @@ const struct inode_operations ceph_dir_iops = { | |||
| 1241 | .create = ceph_create, | 1241 | .create = ceph_create, |
| 1242 | }; | 1242 | }; |
| 1243 | 1243 | ||
| 1244 | struct dentry_operations ceph_dentry_ops = { | 1244 | const struct dentry_operations ceph_dentry_ops = { |
| 1245 | .d_revalidate = ceph_d_revalidate, | 1245 | .d_revalidate = ceph_d_revalidate, |
| 1246 | .d_release = ceph_dentry_release, | 1246 | .d_release = ceph_dentry_release, |
| 1247 | }; | 1247 | }; |
| 1248 | 1248 | ||
| 1249 | struct dentry_operations ceph_snapdir_dentry_ops = { | 1249 | const struct dentry_operations ceph_snapdir_dentry_ops = { |
| 1250 | .d_revalidate = ceph_snapdir_d_revalidate, | 1250 | .d_revalidate = ceph_snapdir_d_revalidate, |
| 1251 | .d_release = ceph_dentry_release, | 1251 | .d_release = ceph_dentry_release, |
| 1252 | }; | 1252 | }; |
| 1253 | 1253 | ||
| 1254 | struct dentry_operations ceph_snap_dentry_ops = { | 1254 | const struct dentry_operations ceph_snap_dentry_ops = { |
| 1255 | .d_release = ceph_dentry_release, | 1255 | .d_release = ceph_dentry_release, |
| 1256 | }; | 1256 | }; |
diff --git a/fs/ceph/super.h b/fs/ceph/super.h index 95adce441cc0..2482d696f0de 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h | |||
| @@ -861,7 +861,7 @@ extern void ceph_release_page_vector(struct page **pages, int num_pages); | |||
| 861 | /* dir.c */ | 861 | /* dir.c */ |
| 862 | extern const struct file_operations ceph_dir_fops; | 862 | extern const struct file_operations ceph_dir_fops; |
| 863 | extern const struct inode_operations ceph_dir_iops; | 863 | extern const struct inode_operations ceph_dir_iops; |
| 864 | extern struct dentry_operations ceph_dentry_ops, ceph_snap_dentry_ops, | 864 | extern const struct dentry_operations ceph_dentry_ops, ceph_snap_dentry_ops, |
| 865 | ceph_snapdir_dentry_ops; | 865 | ceph_snapdir_dentry_ops; |
| 866 | 866 | ||
| 867 | extern int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry); | 867 | extern int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry); |
