aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorAlexander Gordeev <[email protected]>2012-03-21 16:22:13 +0000
committerThomas Gleixner <[email protected]>2012-03-29 09:31:52 +0000
commit69592db298e400a7c175c4dfbe7a086c783f349d (patch)
treecd6b3b24af6996612331ebf8cd9fb749c2d19f24 /fs/jbd/commit.c
parentMerge tag 'mmc-merge-for-3.4-rc1' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadkernel-69592db298e400a7c175c4dfbe7a086c783f349d.tar.gz
kernel-69592db298e400a7c175c4dfbe7a086c783f349d.zip
genirq: Minor readablity improvement in irq_wake_thread()
exit_irq_thread() clears IRQTF_RUNTHREAD flag and drops the thread's bit in desc->threads_oneshot then. The bit must not be set again in between and it does not, since irq_wake_thread() sees PF_EXITING flag first and returns. Due to above the order or checking PF_EXITING and IRQTF_RUNTHREAD flags in irq_wake_thread() is important. This change just makes it more visible in the source code. Signed-off-by: Alexander Gordeev <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions