summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mon_client.c
diff options
context:
space:
mode:
authorTobias Klauser2010-05-20 10:40:19 +0200
committerSage Weil2010-05-22 00:01:21 +0200
commit9e32789f63fc5ad91c8b10f68ec23a86856d5af5 (patch)
treed70a343f5c2e0689d4e44ba93a586fe3d21bbdc6 /fs/ceph/mon_client.c
parentceph: all allocation functions should get gfp_mask (diff)
downloadkernel-qcow2-linux-9e32789f63fc5ad91c8b10f68ec23a86856d5af5.tar.gz
kernel-qcow2-linux-9e32789f63fc5ad91c8b10f68ec23a86856d5af5.tar.xz
kernel-qcow2-linux-9e32789f63fc5ad91c8b10f68ec23a86856d5af5.zip
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/mon_client.c')
-rw-r--r--fs/ceph/mon_client.c4
1 files changed, 2 insertions, 2 deletions
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 @@
* resend any outstanding requests.
*/
-const static struct ceph_connection_operations mon_con_ops;
+static const struct ceph_connection_operations mon_con_ops;
static int __validate_auth(struct ceph_mon_client *monc);
@@ -861,7 +861,7 @@ out:
mutex_unlock(&monc->mutex);
}
-const static struct ceph_connection_operations mon_con_ops = {
+static const struct ceph_connection_operations mon_con_ops = {
.get = ceph_con_get,
.put = ceph_con_put,
.dispatch = dispatch,