diff options
author | Amit Gud <[email protected]> | 2009-04-02 17:01:27 -0400 |
---|---|---|
committer | Chris Mason <[email protected]> | 2009-04-02 17:01:27 -0400 |
commit | b5555f77115bfba3630fefff2d4e68140b644171 (patch) | |
tree | 5a2712105e9e5e493ebf01b9b382828d91e046b8 /net/lapb/lapb_timer.c | |
parent | dccae99995089641fbac452ebc7f0cab18751ddb (diff) |
Btrfs: fix race in worker_loop
Need to check kthread_should_stop after schedule_timeout() before calling
schedule(). This causes threads to sleep with potentially no one to wake them
up causing mount(2) to hang in btrfs_stop_workers waiting for threads to stop.
Signed-off-by: Amit Gud <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions