|
@@ -3603,7 +3603,7 @@ static int ocfs2_downconvert_lock(struct ocfs2_super *osb,
|
|
* we can recover correctly from node failure. Otherwise, we may get
|
|
* we can recover correctly from node failure. Otherwise, we may get
|
|
* invalid LVB in LKB, but without DLM_SBF_VALNOTVALID being set.
|
|
* invalid LVB in LKB, but without DLM_SBF_VALNOTVALID being set.
|
|
*/
|
|
*/
|
|
- if (!ocfs2_is_o2cb_active() &&
|
|
|
|
|
|
+ if (ocfs2_userspace_stack(osb) &&
|
|
lockres->l_ops->flags & LOCK_TYPE_USES_LVB)
|
|
lockres->l_ops->flags & LOCK_TYPE_USES_LVB)
|
|
lvb = 1;
|
|
lvb = 1;
|
|
|
|
|