Messages in this thread Patch in this message | | | Date | Tue, 14 Jul 2009 17:54:04 +0200 (CEST) | From | Thomas Gleixner <> | Subject | [GIT pull] core fixes for 2.6.31 |
| |
Linus,
Please pull the latest core-fixes-for-linus-2 git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git core-fixes-for-linus-2
Thanks,
tglx
------------------> Sonny Rao (1): futexes: Fix infinite loop in get_futex_key() on huge page
kernel/futex.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/kernel/futex.c b/kernel/futex.c index 794c862..0672ff8 100644 --- a/kernel/futex.c +++ b/kernel/futex.c @@ -247,6 +247,7 @@ again: if (err < 0) return err; + page = compound_head(page); lock_page(page); if (!page->mapping) { unlock_page(page);
| |