Skip to content

Commit

Permalink
mm, hugetlb: trivial commenting fix
Browse files Browse the repository at this point in the history
The name of the mutex written in comment is wrong.  Fix it.

Signed-off-by: Joonsoo Kim <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Acked-by: Hillf Danton <[email protected]>
Reviewed-by: Aneesh Kumar K.V <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: Wanpeng Li <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: David Gibson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
JoonsooKim authored and torvalds committed Sep 11, 2013
1 parent 9966c4b commit c748c26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mm/hugetlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ static inline struct hugepage_subpool *subpool_vma(struct vm_area_struct *vma)
* across the pages in a mapping.
*
* The region data structures are protected by a combination of the mmap_sem
* and the hugetlb_instantion_mutex. To access or modify a region the caller
* and the hugetlb_instantiation_mutex. To access or modify a region the caller
* must either hold the mmap_sem for write, or the mmap_sem for read and
* the hugetlb_instantiation mutex:
* the hugetlb_instantiation_mutex:
*
* down_write(&mm->mmap_sem);
* or
Expand Down

0 comments on commit c748c26

Please sign in to comment.