summaryrefslogtreecommitdiffstats
path: root/src/tools/cephfs/MDSUtility.cc
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2019-04-12 21:21:20 +0200
committerSage Weil <sage@redhat.com>2019-04-24 20:46:04 +0200
commit91c6016dd9e0c6997ca0e8b7f946864d66987bec (patch)
tree4695756f28da4bb7e19bc89a886b39beeaaa2e4b /src/tools/cephfs/MDSUtility.cc
parentmon/MonClient: discard old challenge if authorizer is bad (diff)
downloadceph-91c6016dd9e0c6997ca0e8b7f946864d66987bec.tar.xz
ceph-91c6016dd9e0c6997ca0e8b7f946864d66987bec.zip
msg: remove old ms_* auth methods from Dispatcher interface
In the mon there is an opportunity to further clean up the code around get_authorizer(). Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/tools/cephfs/MDSUtility.cc')
-rw-r--r--src/tools/cephfs/MDSUtility.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/tools/cephfs/MDSUtility.cc b/src/tools/cephfs/MDSUtility.cc
index 7e7da209bb6..6e71d21a29c 100644
--- a/src/tools/cephfs/MDSUtility.cc
+++ b/src/tools/cephfs/MDSUtility.cc
@@ -156,11 +156,3 @@ void MDSUtility::handle_fs_map(MFSMap* m)
}
-bool MDSUtility::ms_get_authorizer(int dest_type, AuthAuthorizer **authorizer)
-{
- if (dest_type == CEPH_ENTITY_TYPE_MON)
- return true;
-
- *authorizer = monc->build_authorizer(dest_type);
- return *authorizer != NULL;
-}