Merge tag 'for-6.8/io_uring-2024-01-08' of git://git.kernel.dk/linux
[linux-block.git] / crypto / ahash.c
index deee55f939dc8c0a12efd205007eb6693da17eb6..80c3e5354711e1fcaf2e7d487ac742bdc0e2cf77 100644 (file)
@@ -651,6 +651,7 @@ struct crypto_ahash *crypto_clone_ahash(struct crypto_ahash *hash)
                        err = PTR_ERR(shash);
                        goto out_free_nhash;
                }
+               nhash->using_shash = true;
                *nctx = shash;
                return nhash;
        }