aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-05-20 04:40:19 -0400
committerSage Weil <sage@newdream.net>2010-05-21 18:01:21 -0400
commit9e32789f63fc5ad91c8b10f68ec23a86856d5af5 (patch)
treed70a343f5c2e0689d4e44ba93a586fe3d21bbdc6
parent34d23762d988b7dcb08390ac72a353df3d60193c (diff)
ceph: Storage class should be before const qualifier
The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Sage Weil <sage@newdream.net>
-rw-r--r--fs/ceph/mds_client.c4
-rw-r--r--fs/ceph/mon_client.c4
-rw-r--r--fs/ceph/osd_client.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index 1b786cf2c7af..885aa5710cfd 100644
--- a/fs/ceph/mds_client.c
+++ b/fs/ceph/mds_client.c
@@ -40,7 +40,7 @@
40static void __wake_requests(struct ceph_mds_client *mdsc, 40static void __wake_requests(struct ceph_mds_client *mdsc,
41 struct list_head *head); 41 struct list_head *head);
42 42
43const static struct ceph_connection_operations mds_con_ops; 43static const struct ceph_connection_operations mds_con_ops;
44 44
45 45
46/* 46/*
@@ -3120,7 +3120,7 @@ static int invalidate_authorizer(struct ceph_connection *con)
3120 return ceph_monc_validate_auth(&mdsc->client->monc); 3120 return ceph_monc_validate_auth(&mdsc->client->monc);
3121} 3121}
3122 3122
3123const static struct ceph_connection_operations mds_con_ops = { 3123static const struct ceph_connection_operations mds_con_ops = {
3124 .get = con_get, 3124 .get = con_get,
3125 .put = con_put, 3125 .put = con_put,
3126 .dispatch = dispatch, 3126 .dispatch = dispatch,
diff --git a/fs/ceph/mon_client.c b/fs/ceph/mon_client.c
index 61cb11701f10..478729a6ffce 100644
--- a/fs/ceph/mon_client.c
+++ b/fs/ceph/mon_client.c
@@ -28,7 +28,7 @@
28 * resend any outstanding requests. 28 * resend any outstanding requests.
29 */ 29 */
30 30
31const static struct ceph_connection_operations mon_con_ops; 31static const struct ceph_connection_operations mon_con_ops;
32 32
33static int __validate_auth(struct ceph_mon_client *monc); 33static int __validate_auth(struct ceph_mon_client *monc);
34 34
@@ -861,7 +861,7 @@ out:
861 mutex_unlock(&monc->mutex); 861 mutex_unlock(&monc->mutex);
862} 862}
863 863
864const static struct ceph_connection_operations mon_con_ops = { 864static const struct ceph_connection_operations mon_con_ops = {
865 .get = ceph_con_get, 865 .get = ceph_con_get,
866 .put = ceph_con_put, 866 .put = ceph_con_put,
867 .dispatch = dispatch, 867 .dispatch = dispatch,
diff --git a/fs/ceph/osd_client.c b/fs/ceph/osd_client.c
index 16141e6e8b73..afa7bb3895c4 100644
--- a/fs/ceph/osd_client.c
+++ b/fs/ceph/osd_client.c
@@ -16,7 +16,7 @@
16#define OSD_OP_FRONT_LEN 4096 16#define OSD_OP_FRONT_LEN 4096
17#define OSD_OPREPLY_FRONT_LEN 512 17#define OSD_OPREPLY_FRONT_LEN 512
18 18
19const static struct ceph_connection_operations osd_con_ops; 19static const struct ceph_connection_operations osd_con_ops;
20static int __kick_requests(struct ceph_osd_client *osdc, 20static int __kick_requests(struct ceph_osd_client *osdc,
21 struct ceph_osd *kickosd); 21 struct ceph_osd *kickosd);
22 22
@@ -1524,7 +1524,7 @@ static int invalidate_authorizer(struct ceph_connection *con)
1524 return ceph_monc_validate_auth(&osdc->client->monc); 1524 return ceph_monc_validate_auth(&osdc->client->monc);
1525} 1525}
1526 1526
1527const static struct ceph_connection_operations osd_con_ops = { 1527static const struct ceph_connection_operations osd_con_ops = {
1528 .get = get_osd_con, 1528 .get = get_osd_con,
1529 .put = put_osd_con, 1529 .put = put_osd_con,
1530 .dispatch = dispatch, 1530 .dispatch = dispatch,