Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/client/Client.cc b/src/client/Client.cc
- index 4ae0e2b..bef55d2 100644
- --- a/src/client/Client.cc
- +++ b/src/client/Client.cc
- @@ -3382,7 +3382,11 @@ int Client::get_or_create(Inode *dir, const char* name,
- int Client::path_walk(const filepath& origpath, Inode **final, bool followsym)
- {
- filepath path = origpath;
- - Inode *cur = cwd;
- + Inode *cur;
- + if (origpath.absolute())
- + cur = root;
- + else
- + cur = cwd;
- assert(cur);
- dout(10) << "path_walk " << path << dendl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement