Skip to content

Commit

Permalink
[BLOCK] Block handles are not destroyable - they must be explicitly c…
Browse files Browse the repository at this point in the history
…leaned up by the supporting device driver.
  • Loading branch information
jameswalmsley committed Sep 28, 2015
1 parent 67f17ba commit f1562f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions os/src/devman/bt_block.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ static BT_ERROR bt_blockdev_cleanup(BT_HANDLE hBlockDev) {

static const BT_IF_HANDLE oHandleInterface = {
BT_MODULE_DEF_INFO,
.ulFlags = BT_HANDLE_FLAGS_NO_DESTROY,
.eType = BT_HANDLE_T_BLOCK,
.pfnCleanup = bt_blockdev_cleanup,
};

0 comments on commit f1562f1

Please sign in to comment.