OSDN Git Service

ceph: fix mds cluster availability check
authorYan, Zheng <zyan@redhat.com>
Wed, 4 Jan 2017 08:21:58 +0000 (16:21 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 12 Jan 2017 18:31:01 +0000 (19:31 +0100)
commitcc8e8342930129aa2c9b629e1653e4681f0896ea
tree0bfaf0674b0d7db469b3eb27dc1755bcff182c93
parenta121103c922847ba5010819a3f250f1f7fc84ab8
ceph: fix mds cluster availability check

We should apply the check after getting the initial mdsmap.

Fixes: e9e427f0a14f ("ceph: check availability of mds cluster on mount")
Link: http://tracker.ceph.com/issues/18161
Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/mds_client.c