summaryrefslogtreecommitdiffstats
path: root/lib/audit.c
diff options
context:
space:
mode:
authorAmit Gud <amitgud@gmail.com>2009-04-02 23:01:27 +0200
committerChris Mason <chris.mason@oracle.com>2009-04-02 23:01:27 +0200
commitb5555f77115bfba3630fefff2d4e68140b644171 (patch)
tree5a2712105e9e5e493ebf01b9b382828d91e046b8 /lib/audit.c
parentBtrfs: add flushoncommit mount option (diff)
downloadlinux-b5555f77115bfba3630fefff2d4e68140b644171.tar.xz
linux-b5555f77115bfba3630fefff2d4e68140b644171.zip
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 <gud@ksu.edu> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'lib/audit.c')
0 files changed, 0 insertions, 0 deletions