* [PATCH/RESEND] mm: Fix problem of parameter in note
@ 2008-10-27 0:27 ` Jianjun Kong
0 siblings, 0 replies; 2+ messages in thread
From: Jianjun Kong @ 2008-10-27 0:27 UTC (permalink / raw)
To: linux-mm; +Cc: Linux-Kernel-Mailing-List, Andrew Morton
'current' is a pointer, so the right form is 'down_write(¤t->mm->mmap_sem)'.
Signed-off-by: Jianjun Kong <jianjun@zeuux.org>
---
mm/mmap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mm/mmap.c b/mm/mmap.c
index 74f4d15..3183990 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -904,7 +904,7 @@ void vm_stat_account(struct mm_struct *mm, unsigned long flags,
#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,
--
1.5.6.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH/RESEND] mm: Fix problem of parameter in note
@ 2008-10-27 0:27 ` Jianjun Kong
0 siblings, 0 replies; 2+ messages in thread
From: Jianjun Kong @ 2008-10-27 0:27 UTC (permalink / raw)
To: linux-mm; +Cc: Linux-Kernel-Mailing-List, Andrew Morton
'current' is a pointer, so the right form is 'down_write(¤t->mm->mmap_sem)'.
Signed-off-by: Jianjun Kong <jianjun@zeuux.org>
---
mm/mmap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mm/mmap.c b/mm/mmap.c
index 74f4d15..3183990 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -904,7 +904,7 @@ void vm_stat_account(struct mm_struct *mm, unsigned long flags,
#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,
--
1.5.6.3
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-27 0:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-27 0:27 [PATCH/RESEND] mm: Fix problem of parameter in note Jianjun Kong
2008-10-27 0:27 ` Jianjun Kong
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.