diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-05-20 04:40:19 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-05-21 18:01:21 -0400 |
commit | 9e32789f63fc5ad91c8b10f68ec23a86856d5af5 (patch) | |
tree | d70a343f5c2e0689d4e44ba93a586fe3d21bbdc6 /fs/ceph/osd_client.c | |
parent | 34d23762d988b7dcb08390ac72a353df3d60193c (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>
Diffstat (limited to 'fs/ceph/osd_client.c')
-rw-r--r-- | fs/ceph/osd_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 | ||
19 | const static struct ceph_connection_operations osd_con_ops; | 19 | static const struct ceph_connection_operations osd_con_ops; |
20 | static int __kick_requests(struct ceph_osd_client *osdc, | 20 | static 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 | ||
1527 | const static struct ceph_connection_operations osd_con_ops = { | 1527 | static 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, |