if (rc)
RETURN(rc);
- res = ldlm_resource_get(mgs->mgs_obd->obd_namespace, NULL, &res_id,
+ res = ldlm_resource_get(mgs->mgs_obd->obd_namespace, &res_id,
LDLM_PLAIN, 0);
if (IS_ERR(res))
RETURN(PTR_ERR(res));
rc = -EALREADY;
break;
}
- /* fallthrough */
+ fallthrough;
case BS_INIT:
case BS_THAWED:
case BS_EXPIRED:
rc = -EBUSY;
break;
}
- /* fallthrough */
+ fallthrough;
case BS_INIT:
case BS_THAWED:
case BS_EXPIRED: