diff options
| author | Chao Yu <yuchao0@huawei.com> | 2017-11-30 19:28:21 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-02-07 18:05:33 -0800 |
| commit | e4f5e26cdadf858848e1157067fc853d3c41eb4e (patch) | |
| tree | 5c59d12dc35f5da4c5c73a31c92feacaf950feaa /tools/perf/scripts/python | |
| parent | 1f994d47080c0bac79eb20e90649664799cfce28 (diff) | |
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')
0 files changed, 0 insertions, 0 deletions
