projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f1ecc9
)
mm: Fix problem of parameter in note
author
Jianjun Kong
<
[email protected]
>
Fri, 18 Sep 2009 02:26:26 +0000
(19:26 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 18 Sep 2009 16:48:52 +0000
(09:48 -0700)
'current' is a pointer, so the right form is 'down_write(¤t->mm->mmap_sem)'.
Signed-off-by: Jianjun Kong <
[email protected]
>
Signed-off-by: Randy Dunlap <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/mmap.c
patch
|
blob
|
history
diff --git
a/mm/mmap.c
b/mm/mmap.c
index 8101de490c73941ab8815733a3899c614cdb8cb7..26892e346d8ffab12e53f9f14b4c76bcb8f3b5d8 100644
(file)
--- a/
mm/mmap.c
+++ b/
mm/mmap.c
@@
-905,7
+905,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,