LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] mm: fix-a-problem-of-annotation.patch
@ 2008-10-19  1:07 Jianjun Kong
  0 siblings, 0 replies; only message in thread
From: Jianjun Kong @ 2008-10-19  1:07 UTC (permalink / raw)
  To: linux-mm; +Cc: Linux-Kernel-Mailing-List, Andrew Morton

From: Jianjun Kong <jianjun@zeuux.org>

mm/mmap.c: fix a problem of annotation
It should be "down_write(&current->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 e7a5a68..f2e4444 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -906,7 +906,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(&current->mm->mmap_sem).
  */
 
 unsigned long do_mmap_pgoff(struct file * file, unsigned long addr,
-- 
1.5.2.5

-- 
Jianjun Kong | Happy Hacking
HomePage: http://kongove.cn
Gtalk: kongjianjun@gmail.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-19  1:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-19  1:07 [PATCH] mm: fix-a-problem-of-annotation.patch Jianjun Kong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).