mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 03:06:10 +00:00
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@zeuux.org> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
8f1ecc9fbc
commit
27f5de7963
1 changed files with 1 additions and 1 deletions
|
@ -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(¤t->mm->mmap_sem).
|
||||
*/
|
||||
|
||||
unsigned long do_mmap_pgoff(struct file *file, unsigned long addr,
|
||||
|
|
Loading…
Reference in a new issue