]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: make FSMap.get_filesystem return const
authorJohn Spray <john.spray@redhat.com>
Thu, 10 Mar 2016 10:57:38 +0000 (10:57 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 10 Mar 2016 12:11:23 +0000 (12:11 +0000)
commiteb881010745c1697ee9c51ccce83ce67888d2fcd
tree8152e8f04d7afd9962ed576d88e2794b90efd095
parent3c2f28a253c47a0979b4052842b636a74b2afb69
mds: make FSMap.get_filesystem return const

To make it clearer that anyone modifying a filesystem
should be using modify_filesystem()

Note that FSMap is still a friend of MDSMonitor, as
MDSMap was, so a larger refactor to provide the appropriate
const accessors would also be nice in the future, but that's
nothign to do with multi-filesystems.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/FSMap.cc
src/mds/FSMap.h
src/mds/MDSMap.h
src/mon/MDSMonitor.cc
src/tools/cephfs/DataScan.cc
src/tools/cephfs/RoleSelector.cc