diff options
author | 2017-11-30 19:28:21 +0800 | |
---|---|---|
committer | 2018-01-02 19:27:30 -0800 | |
commit | 416d2dbb4ebc0be6899c0155828ce03c9a01a023 (patch) | |
tree | 6f3c418ad4cfc24e20c84b68dfbc31c4afb42a76 /tools/perf/scripts/python/check-perf-trace.py | |
parent | f2fs: fix error handling in fill_super (diff) | |
download | linux-dev-416d2dbb4ebc0be6899c0155828ce03c9a01a023.tar.xz linux-dev-416d2dbb4ebc0be6899c0155828ce03c9a01a023.zip |
f2fs: clean up hash codes
f2fs_chksum and f2fs_crc32 use the same 'crc32' crypto engine, also
their implementation are almost the same, except with different
shash description context.
Introduce __f2fs_crc32 to wrap the common codes, and reuse it in
f2fs_chksum and f2fs_crc32.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions