[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4AB2EFD2.3080001@oracle.com>
Date: Thu, 17 Sep 2009 19:26:26 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
CC: Jianjun Kong <jianjun@...ux.org>
Subject: [PATCH 2/3] mm: Fix problem of parameter in note
From: Jianjun Kong <jianjun@...ux.org>
Subject: mm: Fix problem of parameter in note
'current' is a pointer, so the right form is 'down_write(¤t->mm->mmap_sem)'.
Signed-off-by: Jianjun Kong <jianjun@...ux.org>
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
mm/mmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx-2631-rc7.orig/mm/mmap.c
+++ lnx-2631-rc7/mm/mmap.c
@@ -905,7 +905,7 @@ void vm_stat_account(struct mm_struct *m
#endif /* CONFIG_PROC_FS */
/*
- * The caller must hold down_write(current->mm->mmap_sem).
+ * The caller must hold down_write(¤t->mm->mmap_sem).
*/
unsigned long do_mmap_pgoff(struct file *file, unsigned long addr,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists