diff options
author | Thomas Gleixner | 2008-02-24 00:23:55 +0100 |
---|---|---|
committer | Linus Torvalds | 2008-02-24 02:12:15 +0100 |
commit | 3e4ab747efa8e78562ec6782b08bbf21a00aba1b (patch) | |
tree | 755b76c9f382a808c718a0289193602038b14c9b /kernel/futex_compat.c | |
parent | dmi: prevent linked list corruption (diff) | |
download | kernel-qcow2-linux-3e4ab747efa8e78562ec6782b08bbf21a00aba1b.tar.gz kernel-qcow2-linux-3e4ab747efa8e78562ec6782b08bbf21a00aba1b.tar.xz kernel-qcow2-linux-3e4ab747efa8e78562ec6782b08bbf21a00aba1b.zip |
futex: fix init order
When the futex init code fails to initialize the futex pseudo file system it
returns early without initializing the hash queues. Should the boot succeed
then a futex syscall which tries to enqueue a waiter on the hashqueue will
crash due to the unitilialized plist heads.
Initialize the hash queues before the filesystem.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: Riku Voipio <riku.voipio@movial.fi>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/futex_compat.c')
0 files changed, 0 insertions, 0 deletions