aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/cciss.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 23c2910aa7bb..42eaddb54380 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -3386,13 +3386,11 @@ static int scan_thread(void *data)
3386 h->busy_scanning = 1; 3386 h->busy_scanning = 1;
3387 mutex_unlock(&scan_mutex); 3387 mutex_unlock(&scan_mutex);
3388 3388
3389 if (h) { 3389 rebuild_lun_table(h, 0, 0);
3390 rebuild_lun_table(h, 0, 0); 3390 complete_all(&h->scan_wait);
3391 complete_all(&h->scan_wait); 3391 mutex_lock(&scan_mutex);
3392 mutex_lock(&scan_mutex); 3392 h->busy_scanning = 0;
3393 h->busy_scanning = 0; 3393 mutex_unlock(&scan_mutex);
3394 mutex_unlock(&scan_mutex);
3395 }
3396 } 3394 }
3397 } 3395 }
3398 3396