Skip to content
Snippets Groups Projects
Commit d8d64a27 authored by deshmukh's avatar deshmukh
Browse files

cmd fix in mdd_rename()

b=17876
i=umka
i=pravin
parent 33b2d684
No related merge requests found
...@@ -1930,7 +1930,7 @@ static int mdd_rename(const struct lu_env *env, ...@@ -1930,7 +1930,7 @@ static int mdd_rename(const struct lu_env *env,
GOTO(cleanup, rc); GOTO(cleanup, rc);
/* "mv dir1 dir2" needs "dir1/.." link update */ /* "mv dir1 dir2" needs "dir1/.." link update */
if (is_dir) { if (is_dir && mdd_sobj) {
rc = __mdd_index_delete(env, mdd_sobj, dotdot, is_dir, handle, rc = __mdd_index_delete(env, mdd_sobj, dotdot, is_dir, handle,
mdd_object_capa(env, mdd_spobj)); mdd_object_capa(env, mdd_spobj));
if (rc) if (rc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment