diff options
author | David Teigland <teigland@redhat.com> | 2007-11-07 15:03:56 (GMT) |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-01-25 08:07:49 (GMT) |
commit | 8cbc4342478311c2a85260a7ca54d96cb7f71f7b (patch) | |
tree | 23a8ab6a4a2c154274d01cfe0e69715cd7ad4d86 /fs/gfs2/glock.c | |
parent | c7227e46423a57b4df27a2d75b5869bd3ae654d0 (diff) | |
download | linux-fsl-qoriq-8cbc4342478311c2a85260a7ca54d96cb7f71f7b.tar.xz |
[GFS2] check kthread_should_stop when waiting
Use wait_event_interruptible() in the lock_dlm thread instead
of an open coded equivalent, and include a kthread_should_stop()
check in the wait test so we don't miss a kthread_stop().
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
0 files changed, 0 insertions, 0 deletions