diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-03-14 13:16:55 +0100 |
---|---|---|
committer | Yan, Zheng <zyan@redhat.com> | 2016-03-17 14:39:34 +0100 |
commit | cd14bcc041da6a097b4082b4c15b263b95baa3db (patch) | |
tree | 908128c6ef0b8e5fec3f564b5124e1d021727df9 /src/tools/cephfs/DataScan.h | |
parent | tools/cephfs/DataScan.cc: don't set directory inode's size to non-zero (diff) | |
download | ceph-cd14bcc041da6a097b4082b4c15b263b95baa3db.tar.xz ceph-cd14bcc041da6a097b4082b4c15b263b95baa3db.zip |
tools/cephfs/DataScan.cc: fake non-empty dirstat for injected directory
so that the directory doesn't appear to be empty
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'src/tools/cephfs/DataScan.h')
-rw-r--r-- | src/tools/cephfs/DataScan.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/cephfs/DataScan.h b/src/tools/cephfs/DataScan.h index 107ab7462ff..3a6b25ccd98 100644 --- a/src/tools/cephfs/DataScan.h +++ b/src/tools/cephfs/DataScan.h @@ -155,8 +155,8 @@ class MetadataTool * Construct a synthetic InodeStore for a directory */ void build_dir_dentry( - inodeno_t ino, uint64_t nfiles, - time_t mtime, + inodeno_t ino, + const frag_info_t &fragstat, const file_layout_t &layout, InodeStore *out); |