aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/dir.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-08-03 13:25:30 -0400
committerSage Weil <sage@newdream.net>2010-08-03 13:25:30 -0400
commit52dfb8ac0ef41168c1a10590b7259a5ab1cd2ab7 (patch)
treeb559e3232c32a1d5e97785aea6f9ccafbba054ce /fs/ceph/dir.c
parent213c99ee0cf17ff0fbffb6fb540bd29615cd19d5 (diff)
ceph: constify dentry_operations
This makes checkpatch happy. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/dir.c')
-rw-r--r--fs/ceph/dir.c8
1 files changed, 4 insertions, 4 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
28const struct inode_operations ceph_dir_iops; 28const struct inode_operations ceph_dir_iops;
29const struct file_operations ceph_dir_fops; 29const struct file_operations ceph_dir_fops;
30struct dentry_operations ceph_dentry_ops; 30const 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
1244struct dentry_operations ceph_dentry_ops = { 1244const 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
1249struct dentry_operations ceph_snapdir_dentry_ops = { 1249const 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
1254struct dentry_operations ceph_snap_dentry_ops = { 1254const struct dentry_operations ceph_snap_dentry_ops = {
1255 .d_release = ceph_dentry_release, 1255 .d_release = ceph_dentry_release,
1256}; 1256};