kernfs: fix reference to renamed function
[linux-2.6-microblaze.git] / fs / kernfs / file.c
index f0cb729..ffa4565 100644 (file)
@@ -447,7 +447,7 @@ static int kernfs_fop_mmap(struct file *file, struct vm_area_struct *vma)
         * warnings and we don't want to add spurious locking dependency
         * between the two.  Check whether mmap is actually implemented
         * without grabbing @of->mutex by testing HAS_MMAP flag.  See the
-        * comment in kernfs_file_open() for more details.
+        * comment in kernfs_fop_open() for more details.
         */
        if (!(of->kn->flags & KERNFS_HAS_MMAP))
                return -ENODEV;