commit | 1859308853b19c4daf4afaab910d3d52ac1ec2ff | [log] [tgz] |
---|---|---|
author | Martin K. Petersen <martin.petersen@oracle.com> | Fri Sep 26 19:20:01 2014 -0400 |
committer | Jens Axboe <axboe@fb.com> | Sat Sep 27 09:14:51 2014 -0600 |
tree | 3b5a3ffcb96d88320cb609883f436b33b094ac58 | |
parent | 5a2aa873059fec8b6385071d9c0802893a9b2f41 [diff] |
block: Clean up the code used to generate and verify integrity metadata Instead of the "operate" parameter we pass in a seed value and a pointer to a function that can be used to process the integrity metadata. The generation function is changed to have a return value to fit into this scheme. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Jens Axboe <axboe@fb.com>