mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kernfs: fix reference to renamed function
@ 2023-12-21 14:15 Ahelenia Ziemiańska
  2023-12-21 21:22 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Ahelenia Ziemiańska @ 2023-12-21 14:15 UTC (permalink / raw)
  Cc: Greg Kroah-Hartman, Tejun Heo, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 999 bytes --]

commit c637b8acbe079edb477d887041755b489036f146 ("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 <nabijaczleweli@nabijaczleweli.xyz>
---
 fs/kernfs/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/kernfs/file.c b/fs/kernfs/file.c
index f0cb729e9a97..ffa4565c275a 100644
--- a/fs/kernfs/file.c
+++ b/fs/kernfs/file.c
@@ -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;
-- 
2.39.2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] kernfs: fix reference to renamed function
  2023-12-21 14:15 [PATCH] kernfs: fix reference to renamed function Ahelenia Ziemiańska
@ 2023-12-21 21:22 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2023-12-21 21:22 UTC (permalink / raw)
  To: Ahelenia Ziemiańska; +Cc: Greg Kroah-Hartman, linux-kernel

On Thu, Dec 21, 2023 at 03:15:42PM +0100, Ahelenia Ziemiańska wrote:
> commit c637b8acbe079edb477d887041755b489036f146 ("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 <nabijaczleweli@nabijaczleweli.xyz>

Acked-by: Tejun Heo <tj@kernel.org>

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-21 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-21 14:15 [PATCH] kernfs: fix reference to renamed function Ahelenia Ziemiańska
2023-12-21 21:22 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®