We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae4d90f commit c810729Copy full SHA for c810729
fs/kernfs/file.c
@@ -447,7 +447,7 @@ static int kernfs_fop_mmap(struct file *file, struct vm_area_struct *vma)
447
* warnings and we don't want to add spurious locking dependency
448
* between the two. Check whether mmap is actually implemented
449
* without grabbing @of->mutex by testing HAS_MMAP flag. See the
450
- * comment in kernfs_file_open() for more details.
+ * comment in kernfs_fop_open() for more details.
451
*/
452
if (!(of->kn->flags & KERNFS_HAS_MMAP))
453
return -ENODEV;
0 commit comments