Whamcloud - gitweb
LU-15220 lustre: use 'fallthrough' pseudo keyword for switch
[fs/lustre-release.git] / lustre / ldlm / ldlm_request.c
index cee372d..048f5c3 100644 (file)
@@ -1665,7 +1665,7 @@ ldlm_cancel_no_wait_policy(struct ldlm_namespace *ns, struct ldlm_lock *lock,
                case LDLM_IBITS:
                        if (ns->ns_cancel != NULL && ns->ns_cancel(lock) != 0)
                                break;
-                       /* fallthrough */
+                       fallthrough;
                default:
                        result = LDLM_POLICY_SKIP_LOCK;
                        break;