diff options
Diffstat (limited to 'net/ceph/ceph_common.c')
-rw-r--r-- | net/ceph/ceph_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/ceph_common.c b/net/ceph/ceph_common.c index dcc18c6f7cf9..55d2bfee16d7 100644 --- a/net/ceph/ceph_common.c +++ b/net/ceph/ceph_common.c | |||
@@ -651,7 +651,7 @@ EXPORT_SYMBOL(ceph_destroy_client); | |||
651 | /* | 651 | /* |
652 | * true if we have the mon map (and have thus joined the cluster) | 652 | * true if we have the mon map (and have thus joined the cluster) |
653 | */ | 653 | */ |
654 | static int have_mon_and_osd_map(struct ceph_client *client) | 654 | static bool have_mon_and_osd_map(struct ceph_client *client) |
655 | { | 655 | { |
656 | return client->monc.monmap && client->monc.monmap->epoch && | 656 | return client->monc.monmap && client->monc.monmap->epoch && |
657 | client->osdc.osdmap && client->osdc.osdmap->epoch; | 657 | client->osdc.osdmap && client->osdc.osdmap->epoch; |