Skip to content
Snippets Groups Projects
Commit 6f059faf authored by alex's avatar alex
Browse files

- bug fixed: wrong lock type was passed to ldlm_lock_decref()

parent 644cf03d
No related branches found
No related tags found
No related merge requests found
......@@ -1030,7 +1030,7 @@ got_child:
if (parent_lockh[1].cookie != 0)
ldlm_lock_decref(parent_lockh + 1, update_mode);
#endif
ldlm_lock_decref(parent_lockh, parent_mode);
ldlm_lock_decref(parent_lockh, LCK_PR);
if (dchild->d_inode || !(dchild->d_flags & DCACHE_CROSS_REF)) {
CDEBUG(D_OTHER, "race: name changed (%p)\n",
......
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