]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blobdiff - drivers/staging/comedi/comedi_fops.c
mmap locking API: convert mmap_sem comments
[mirror_ubuntu-kernels.git] / drivers / staging / comedi / comedi_fops.c
index a56c8f74a27b676a4324c6a41249383978c564d7..e85a99b68f31c101843920ba310f2751d29ab338 100644 (file)
@@ -2325,7 +2325,7 @@ static int comedi_mmap(struct file *file, struct vm_area_struct *vma)
        int retval = 0;
 
        /*
-        * 'trylock' avoids circular dependency with current->mm->mmap_sem
+        * 'trylock' avoids circular dependency with current->mm->mmap_lock
         * and down-reading &dev->attach_lock should normally succeed without
         * contention unless the device is in the process of being attached
         * or detached.