mmap locking API: convert mmap_sem comments
[sfrench/cifs-2.6.git] / mm / util.c
index 09f62d7d6e3e692d248a32b89ccbe31feef9158d..c63c8e47be572d7e8349eb9f04d2dcf7c3601e5c 100644 (file)
--- a/mm/util.c
+++ b/mm/util.c
@@ -425,7 +425,7 @@ void arch_pick_mmap_layout(struct mm_struct *mm, struct rlimit *rlim_stack)
  * @bypass_rlim: %true if checking RLIMIT_MEMLOCK should be skipped
  *
  * Assumes @task and @mm are valid (i.e. at least one reference on each), and
- * that mmap_sem is held as writer.
+ * that mmap_lock is held as writer.
  *
  * Return:
  * * 0       on success