Skip to content

Commit eace0b1

Browse files
Patty8122Laura Flores
authored andcommitted
mds: Updating the print statement to include filepath(root.c_str())
Signed-off-by: Patty8122 <[email protected]>
1 parent 9fedc1e commit eace0b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mds/MDSRank.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3183,7 +3183,7 @@ void MDSRank::command_dump_tree(const cmdmap_t &cmdmap, std::ostream &ss, Format
31833183
std::lock_guard l(mds_lock);
31843184
CInode *in = mdcache->cache_traverse(filepath(root.c_str()));
31853185
if (!in) {
3186-
ss << "root inode is not in cache";
3186+
ss << "inode for path '" << filepath(root.c_str()) << "' is not in cache";
31873187
return;
31883188
}
31893189
f->open_array_section("inodes");

0 commit comments

Comments
 (0)