summaryrefslogtreecommitdiffstats
path: root/block/blk-integrity.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2014-09-27 01:20:01 +0200
committerJens Axboe <axboe@fb.com>2014-09-27 17:14:51 +0200
commit1859308853b19c4daf4afaab910d3d52ac1ec2ff (patch)
tree3b5a3ffcb96d88320cb609883f436b33b094ac58 /block/blk-integrity.c
parentblock: Make protection interval calculation generic (diff)
downloadlinux-1859308853b19c4daf4afaab910d3d52ac1ec2ff.tar.xz
linux-1859308853b19c4daf4afaab910d3d52ac1ec2ff.zip
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>
Diffstat (limited to 'block/blk-integrity.c')
0 files changed, 0 insertions, 0 deletions