]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: use parse_filesystem in parse_role 11357/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 10 Oct 2016 22:16:16 +0000 (18:16 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 11 Oct 2016 18:25:20 +0000 (14:25 -0400)
commitedc78e46cee356da1e45247c38b7428dd6c965cb
tree7bdf9b3af69c24ad092683c9655265760fc8881c
parent59de9919a0e8388c1b8e7968187de6b1b6492425
mds: use parse_filesystem in parse_role

This allows us to reuse code in parse_filesystem and avoid
get_filesystem which may fail if the fscid does not exist. This would
result in the program (mon) aborting due to the uncaught exception.

Fixes: http://tracker.ceph.com/issues/17518
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/FSMap.cc