Behavior should be similar to `mkdir -p`.
Introduced-by: 26905ca82776e8119a347a9a2e8d65c272c7ed62
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
b049eb9bbcdaef547c3559e9dbe5a3ca272f60ec)
break;
cur.swap(next);
}
- //check that we have work left to do
- if (i==path.depth()) return -EEXIST;
if (r!=-ENOENT) return r;
ldout(cct, 20) << __func__ << " got through " << i << " directories on path " << relpath << dendl;
//make new directory at each level