Skip to content
Commit 7d6d1578 authored by Scott Bauer's avatar Scott Bauer Committed by Jens Axboe
Browse files

block/sed-opal: Introduce free_opal_dev to free the structure and clean up state



Before we free the opal structure we need to clean up any saved
locking ranges that the user had told us to unlock from a suspend.

Signed-off-by: default avatarScott Bauer <scott.bauer@intel.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 124298bd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment