diff options
| -rw-r--r-- | mm/backing-dev.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/backing-dev.c b/mm/backing-dev.c index 0b8ee66993dd..08d357522e78 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c | |||
| @@ -415,7 +415,8 @@ static int bdi_forker_thread(void *ptr) | |||
| 415 | break; | 415 | break; |
| 416 | } | 416 | } |
| 417 | 417 | ||
| 418 | spin_lock_bh(&bdi->wb_lock); | 418 | spin_lock(&bdi->wb_lock); |
| 419 | |||
| 419 | /* | 420 | /* |
| 420 | * If there is no work to do and the bdi thread was | 421 | * If there is no work to do and the bdi thread was |
| 421 | * inactive long enough - kill it. The wb_lock is taken | 422 | * inactive long enough - kill it. The wb_lock is taken |
| @@ -432,7 +433,7 @@ static int bdi_forker_thread(void *ptr) | |||
| 432 | action = KILL_THREAD; | 433 | action = KILL_THREAD; |
| 433 | break; | 434 | break; |
| 434 | } | 435 | } |
| 435 | spin_unlock_bh(&bdi->wb_lock); | 436 | spin_unlock(&bdi->wb_lock); |
| 436 | } | 437 | } |
| 437 | spin_unlock_bh(&bdi_lock); | 438 | spin_unlock_bh(&bdi_lock); |
| 438 | 439 | ||
