]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/xen/gntdev.c
mmap locking API: convert mmap_sem comments
[mirror_ubuntu-hirsute-kernel.git] / drivers / xen / gntdev.c
index 3a939e358284d96a327ff2e922529189e1f7cf6b..64a9025a87bee2dc0f10c8fd3a1f88f3b1c8aaa3 100644 (file)
@@ -1014,7 +1014,7 @@ static int gntdev_mmap(struct file *flip, struct vm_area_struct *vma)
                 * to the PTE from going stale.
                 *
                 * Since this vma's mappings can't be touched without the
-                * mmap_sem, and we are holding it now, there is no need for
+                * mmap_lock, and we are holding it now, there is no need for
                 * the notifier_range locking pattern.
                 */
                mmu_interval_read_begin(&map->notifier);