aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-08-17 12:47:49 -0400
committerAlex Elder <elder@inktank.com>2012-10-01 15:30:49 -0400
commit290e33593d76d1cebf873da50e036559c4820af9 (patch)
treee277993f8ce1d8dcc0b368662e71435d71d6654e
parentc98f533c9497e285109a047bfb955d683f33f7e4 (diff)
libceph: remove unused monc->have_fsid
This is unused; use monc->client->have_fsid. Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--include/linux/ceph/mon_client.h1
-rw-r--r--net/ceph/mon_client.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ceph/mon_client.h b/include/linux/ceph/mon_client.h
index 2113e3850a4e..1dc508aeb73d 100644
--- a/include/linux/ceph/mon_client.h
+++ b/include/linux/ceph/mon_client.h
@@ -71,7 +71,6 @@ struct ceph_mon_client {
71 int cur_mon; /* last monitor i contacted */ 71 int cur_mon; /* last monitor i contacted */
72 unsigned long sub_sent, sub_renew_after; 72 unsigned long sub_sent, sub_renew_after;
73 struct ceph_connection con; 73 struct ceph_connection con;
74 bool have_fsid;
75 74
76 /* pending generic requests */ 75 /* pending generic requests */
77 struct rb_root generic_request_tree; 76 struct rb_root generic_request_tree;
diff --git a/net/ceph/mon_client.c b/net/ceph/mon_client.c
index 900ea0f043fc..e98f6070b5ae 100644
--- a/net/ceph/mon_client.c
+++ b/net/ceph/mon_client.c
@@ -769,7 +769,6 @@ static int build_initial_monmap(struct ceph_mon_client *monc)
769 monc->monmap->mon_inst[i].name.num = cpu_to_le64(i); 769 monc->monmap->mon_inst[i].name.num = cpu_to_le64(i);
770 } 770 }
771 monc->monmap->num_mon = num_mon; 771 monc->monmap->num_mon = num_mon;
772 monc->have_fsid = false;
773 return 0; 772 return 0;
774} 773}
775 774