diff options
author | Eric Biggers <ebiggers@google.com> | 2020-04-30 23:51:59 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-05-25 11:25:27 +0200 |
commit | fd08001f17c7f0a5b19bf4026bbaace19d8fbdb6 (patch) | |
tree | fd5f401d3bfec680a75e5c2d59fd4e124a603316 /net/dcb | |
parent | 1ed802c972c6c676412e34d168e313a17c3d931e (diff) | |
download | linux-stable-fd08001f17c7f0a5b19bf4026bbaace19d8fbdb6.tar.gz linux-stable-fd08001f17c7f0a5b19bf4026bbaace19d8fbdb6.tar.bz2 linux-stable-fd08001f17c7f0a5b19bf4026bbaace19d8fbdb6.zip |
btrfs: use crypto_shash_digest() instead of open coding
Use crypto_shash_digest() instead of crypto_shash_init() +
crypto_shash_update() + crypto_shash_final(). This is more efficient.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions