Skip to content

Commit c810729

Browse files
nabijaczleweligregkh
authored andcommitted
kernfs: fix reference to renamed function
commit c637b8a ("kernfs: s/sysfs/kernfs/ in internal functions and whatever is left") renamed kernfs_file_open to kernfs_fop_open, but didn't update the comment referencing it. Signed-off-by: Ahelenia Ziemiańska <[email protected]> Acked-by: Tejun Heo <[email protected]> Link: https://lore.kernel.org/r/4f2wybrepigxjpuxj4bdkh3qmksetfioedit2bdrswf6b75ebb@tarta.nabijaczleweli.xyz Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ae4d90f commit c810729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/kernfs/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ static int kernfs_fop_mmap(struct file *file, struct vm_area_struct *vma)
447447
* warnings and we don't want to add spurious locking dependency
448448
* between the two. Check whether mmap is actually implemented
449449
* without grabbing @of->mutex by testing HAS_MMAP flag. See the
450-
* comment in kernfs_file_open() for more details.
450+
* comment in kernfs_fop_open() for more details.
451451
*/
452452
if (!(of->kn->flags & KERNFS_HAS_MMAP))
453453
return -ENODEV;

0 commit comments

Comments
 (0)