commit | 7d6d15789d69856f1c5405e106a773c87277eb8c | [log] [tgz] |
---|---|---|
author | Scott Bauer <scott.bauer@intel.com> | Wed Feb 22 10:15:06 2017 -0700 |
committer | Jens Axboe <axboe@fb.com> | Thu Feb 23 11:55:41 2017 -0700 |
tree | 7ae43ae226e85c4db783756a3c07f14ed1dbd0cf | |
parent | 124298bd03acebd9c9da29a794718aca31bec1f7 [diff] |
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: Scott Bauer <scott.bauer@intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>