]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: use parse_filesystem in parse_role 11862/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 10 Oct 2016 22:16:16 +0000 (18:16 -0400)
committerLoic Dachary <ldachary@redhat.com>
Wed, 9 Nov 2016 14:15:00 +0000 (15:15 +0100)
commit804c46c55c2f6c81dcbe106f55679a61091932a5
treef7961bd59337df592142a4c4af74e52b27411597
parent8a028b07d40b3e5f483de3fd896bf39e57f7b51f
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>
(cherry picked from commit edc78e46cee356da1e45247c38b7428dd6c965cb)
src/mds/FSMap.cc