From e242d84fa123cd4161a1b4df28cb7999b335f2cf Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Mon, 2 Nov 2015 10:44:34 +0800 Subject: [PATCH] mds: remove MDCache::cap_import_paths it's no longer used. Signed-off-by: Yan, Zheng --- src/mds/MDCache.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mds/MDCache.h b/src/mds/MDCache.h index 30411b1689c..3b7d7fc36bf 100644 --- a/src/mds/MDCache.h +++ b/src/mds/MDCache.h @@ -491,7 +491,6 @@ protected: map cap_export_targets; // ino -> auth mds map > > cap_imports; // ino -> client -> frommds -> capex - map cap_import_paths; map cap_imports_dirty; set cap_imports_missing; int cap_imports_num_opening; @@ -535,7 +534,6 @@ public: void rejoin_recovered_caps(inodeno_t ino, client_t client, cap_reconnect_t& icr, mds_rank_t frommds=MDS_RANK_NONE) { cap_imports[ino][client][frommds] = icr.capinfo; - cap_import_paths[ino] = filepath(icr.path, (uint64_t)icr.capinfo.pathbase); } ceph_mds_cap_reconnect *get_replay_cap_reconnect(inodeno_t ino, client_t client) { if (cap_imports.count(ino) && -- 2.47.3