LKML Archive on
help / color / mirror / Atom feed
From: Jianjun Kong <>
Cc: Linux-Kernel-Mailing-List <>,
	Andrew Morton <>
Subject: [PATCH] mm: fix-a-problem-of-annotation.patch
Date: Sun, 19 Oct 2008 09:07:46 +0800	[thread overview]
Message-ID: <20081019010746.GA6882@ubuntu> (raw)

From: Jianjun Kong <>

mm/mmap.c: fix a problem of annotation
It should be "down_write(&current->mm->mmap_sem)".

Signed-off-by: Jianjun Kong <>
 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,

Jianjun Kong | Happy Hacking

                 reply	other threads:[~2008-10-19  1:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081019010746.GA6882@ubuntu \ \ \ \ \
    --subject='Re: [PATCH] mm: fix-a-problem-of-annotation.patch' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).