]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit764aa7ccafdc86bfa8d06e599cd2f6cf8fd0b104
tree0bfaf0674b0d7db469b3eb27dc1755bcff182c93
parentf860b361d801aefbaf73e56bea0acfd26ed6e227
ceph: fix mds cluster availability check

We should apply the check after getting the initial mdsmap.

Fixes: 748f40bff68e ("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