Skip to content
Snippets Groups Projects
Commit bf36f9cf authored by Gu Zheng's avatar Gu Zheng Committed by Jens Axboe
Browse files

fs/bio-integrity: remove duplicate code


Most code of function bio_integrity_verify and bio_integrity_generate
is the same, so introduce a help function bio_integrity_generate_verify()
to remove the duplicate code.

Signed-off-by: default avatarGu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent ec6c676a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment