diff options
-rw-r--r-- | block/bsg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/bsg.c b/block/bsg.c index 2f78d7d34b9d..5f4abc902a00 100644 --- a/block/bsg.c +++ b/block/bsg.c | |||
@@ -471,6 +471,7 @@ static int bsg_complete_all_commands(struct bsg_device *bd) | |||
471 | spin_unlock_irq(&bd->lock); | 471 | spin_unlock_irq(&bd->lock); |
472 | break; | 472 | break; |
473 | } | 473 | } |
474 | spin_unlock_irq(&bd->lock); | ||
474 | 475 | ||
475 | bc = bsg_get_done_cmd(bd); | 476 | bc = bsg_get_done_cmd(bd); |
476 | if (IS_ERR(bc)) | 477 | if (IS_ERR(bc)) |