block: Allow empty integrity profile
authorMartin K. Petersen <martin.petersen@oracle.com>
Sun, 4 Jan 2009 07:43:40 +0000 (02:43 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 30 Jan 2009 11:34:36 +0000 (12:34 +0100)
commit322316385dde5cd879e682bcb598c56d0659fb60
tree3c2ab83c0b409a212e4b72e955df3bfec626b08b
parent8ae372e3bb4acaca37ffa2ce54f4cf8dd60a94fa
block: Allow empty integrity profile

Allow a block device to allocate and register an integrity profile
without providing a template.  This allows DM to preallocate a profile
to avoid deadlocks during table reconfiguration.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-integrity.c