Searched hist:"416 d2dbb4ebc0be6899c0155828ce03c9a01a023" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | f2fs.h | diff 416d2dbb4ebc0be6899c0155828ce03c9a01a023 Thu Nov 30 05:28:21 CST 2017 Chao Yu <yuchao0@huawei.com> 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>
|