summaryrefslogtreecommitdiff
path: root/fs/ceph/mds_client.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-05-20 10:40:19 +0200
committerSage Weil <sage@newdream.net>2010-05-21 15:01:21 -0700
commit9e32789f63fc5ad91c8b10f68ec23a86856d5af5 (patch)
treed70a343f5c2e0689d4e44ba93a586fe3d21bbdc6 /fs/ceph/mds_client.c
parent34d23762d988b7dcb08390ac72a353df3d60193c (diff)
downloadlwn-9e32789f63fc5ad91c8b10f68ec23a86856d5af5.tar.gz
lwn-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/mds_client.c')
-rw-r--r--fs/ceph/mds_client.c4
1 files changed, 2 insertions, 2 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 @@
static void __wake_requests(struct ceph_mds_client *mdsc,
struct list_head *head);
-const static struct ceph_connection_operations mds_con_ops;
+static const struct ceph_connection_operations mds_con_ops;
/*
@@ -3120,7 +3120,7 @@ static int invalidate_authorizer(struct ceph_connection *con)
return ceph_monc_validate_auth(&mdsc->client->monc);
}
-const static struct ceph_connection_operations mds_con_ops = {
+static const struct ceph_connection_operations mds_con_ops = {
.get = con_get,
.put = con_put,
.dispatch = dispatch,