libceph: remove unused monc->have_fsid
This is unused; use monc->client->have_fsid. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
@@ -71,7 +71,6 @@ struct ceph_mon_client {
|
|||||||
int cur_mon; /* last monitor i contacted */
|
int cur_mon; /* last monitor i contacted */
|
||||||
unsigned long sub_sent, sub_renew_after;
|
unsigned long sub_sent, sub_renew_after;
|
||||||
struct ceph_connection con;
|
struct ceph_connection con;
|
||||||
bool have_fsid;
|
|
||||||
|
|
||||||
/* pending generic requests */
|
/* pending generic requests */
|
||||||
struct rb_root generic_request_tree;
|
struct rb_root generic_request_tree;
|
||||||
|
@@ -769,7 +769,6 @@ static int build_initial_monmap(struct ceph_mon_client *monc)
|
|||||||
monc->monmap->mon_inst[i].name.num = cpu_to_le64(i);
|
monc->monmap->mon_inst[i].name.num = cpu_to_le64(i);
|
||||||
}
|
}
|
||||||
monc->monmap->num_mon = num_mon;
|
monc->monmap->num_mon = num_mon;
|
||||||
monc->have_fsid = false;
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user