diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2014-02-21 18:10:59 +0800 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-02-21 15:28:30 -0800 |
commit | bf36f9cfa6d3d129387b9d62f495d978ed4ade7c (patch) | |
tree | e50b3eefcc3d908d033e6ae6d4e432e01ee430e7 /block/cfq-iosched.c | |
parent | ec6c676a08b0779a32c9cec9fae7532add32fe15 (diff) | |
download | lwn-bf36f9cfa6d3d129387b9d62f495d978ed4ade7c.tar.gz lwn-bf36f9cfa6d3d129387b9d62f495d978ed4ade7c.zip |
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: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions