It's possible that stray reintegration tries moving stray to a
removed directory.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
respond_to_request(mdr, -EROFS);
return 0;
}
- if (!diri->is_base() && diri->get_projected_parent_dir()->inode->is_stray()) {
- respond_to_request(mdr, -ENOENT);
- return 0;
- }
+ }
+ if (!diri->is_base() && diri->get_projected_parent_dir()->inode->is_stray()) {
+ respond_to_request(mdr, -ENOENT);
+ return 0;
}
// make a null dentry?