Merge branch 'akpm' (fixes from Andrew)
[linux-drm-fsl-dcu.git] / crypto / af_alg.c
index ac33d5f3077823af1e714039e2bc093763f8c2fb..966f893711b393a3f4a7f22252b0d1cf6eb8dc98 100644 (file)
@@ -434,7 +434,7 @@ int af_alg_wait_for_completion(int err, struct af_alg_completion *completion)
        case -EINPROGRESS:
        case -EBUSY:
                wait_for_completion(&completion->completion);
-               INIT_COMPLETION(completion->completion);
+               reinit_completion(&completion->completion);
                err = completion->err;
                break;
        };