summaryrefslogtreecommitdiffstats
path: root/src/tools/cephfs/DataScan.cc
diff options
context:
space:
mode:
authorPatrick Donnelly <pdonnell@redhat.com>2018-01-16 03:30:59 +0100
committerPatrick Donnelly <pdonnell@redhat.com>2018-02-08 03:02:50 +0100
commit7e2f59aad3255de0782ee6cb13c03956da3fe32e (patch)
treecb2e10ac97cf1557b3b8c972116d1dd1b0fdf3ce /src/tools/cephfs/DataScan.cc
parentmds: move CDentry container members to mempool (diff)
downloadceph-7e2f59aad3255de0782ee6cb13c03956da3fe32e.tar.xz
ceph-7e2f59aad3255de0782ee6cb13c03956da3fe32e.zip
mds: move CInode container members to mempool
Partial-fix: http://tracker.ceph.com/issues/21402 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Diffstat (limited to 'src/tools/cephfs/DataScan.cc')
-rw-r--r--src/tools/cephfs/DataScan.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/cephfs/DataScan.cc b/src/tools/cephfs/DataScan.cc
index 0d3e3ace724..f8bf524097a 100644
--- a/src/tools/cephfs/DataScan.cc
+++ b/src/tools/cephfs/DataScan.cc
@@ -909,7 +909,7 @@ int DataScan::scan_links()
int nlink;
bool is_dir;
link_info_t() : version(0), nlink(0), is_dir(false) {}
- link_info_t(inodeno_t di, frag_t df, const string& n, const inode_t i) :
+ link_info_t(inodeno_t di, frag_t df, const string& n, const CInode::mempool_inode& i) :
dirino(di), frag(df), name(n),
version(i.version), nlink(i.nlink), is_dir(S_IFDIR & i.mode) {}
dirfrag_t dirfrag() const {