Message ID | 4f2wybrepigxjpuxj4bdkh3qmksetfioedit2bdrswf6b75ebb@tarta.nabijaczleweli.xyz |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-8558-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp440331dyi; Thu, 21 Dec 2023 06:17:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZ5ImjBITIDnKr+ub7euWv6/JngkTdfFDOswC8Hi89S26DKYv1nZta/3LShIDcxq6Adnuq X-Received: by 2002:a19:ac03:0:b0:50e:38a8:cf9c with SMTP id g3-20020a19ac03000000b0050e38a8cf9cmr2322581lfc.207.1703168250224; Thu, 21 Dec 2023 06:17:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703168250; cv=none; d=google.com; s=arc-20160816; b=QhxZE2cllQ09VwDdgcGkOhlx2H/WK/X6+ywzK0KhSCBGysZhTKN5KMnkgmPNXoT6l+ KaYz39QPRPQwR5QNSc+ILCzyE/H16GUxxkuMPdnrsAdBXds/xecWnY+k5v9ZyFeAVoRN zUi/BDLfjPCDtxV8QCf2uA5XLH8A/1cRyWrY6S37R6wNhky+pJXP1YHj0IC28gFtTNQx TmNzRU+4crPQpLdH+bDbRd+eoBJhAPdNVbC620ZsXvowZVlgwu+S7uRWJ4bW4rzjZnbv 8O1XgrOKOKOJP0sFg3osXZOcZj5UbzWyvjPRL5tEyB3ly29dDTiEU/9FIekJ0XBN3IOu aQdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:from:date :dkim-signature; bh=iGsPvWMBXwlyfEgaQoOj3rf24P/TnnXLupVPYCw5lMM=; fh=s6n09NAG+p6ZH3Hlw0eFTjfcNuXv8tFBWdrHwJ1Jx+Y=; b=s1FcBKjvwriGxmZ3FkGGDWeq2SoPer6DRTE9ESWBNfK/IHkaw20W06S5TTY5yg0YWE pPTKuQZeB6d1p1lpdFhcvysNDyZsWP7Y0wMimo7ioYjv07KmiNdMDDyeTOu4aAu84BwR RA51Ng561ZAsICp7SQz1ebHMZjciSJMNdwpLPz/FrlCkcUPjnvVY9YMZ4bAK0OTCRBZN LxDTxr8cmVa/73621uX835UrNogEAb15eBHaSKGnspqNsLTlpMtq6pXmWn9QL9ZSgy2D 3AwjlFRYehI9XCDgUsjkZwLW5FwFoDTpOirYrozxjH87M935bnktrW6I2grpiylGwBLc xrUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nabijaczleweli.xyz header.s=202305 header.b=Fm3ZJ7Do; spf=pass (google.com: domain of linux-kernel+bounces-8558-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8558-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nabijaczleweli.xyz Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s10-20020a170906a18a00b00a2684c29489si890291ejy.526.2023.12.21.06.17.30 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 06:17:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8558-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@nabijaczleweli.xyz header.s=202305 header.b=Fm3ZJ7Do; spf=pass (google.com: domain of linux-kernel+bounces-8558-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8558-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nabijaczleweli.xyz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D11881F233F2 for <ouuuleilei@gmail.com>; Thu, 21 Dec 2023 14:16:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7BFC636098; Thu, 21 Dec 2023 14:15:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nabijaczleweli.xyz header.i=@nabijaczleweli.xyz header.b="Fm3ZJ7Do" X-Original-To: linux-kernel@vger.kernel.org Received: from tarta.nabijaczleweli.xyz (tarta.nabijaczleweli.xyz [139.28.40.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54E746D6DA for <linux-kernel@vger.kernel.org>; Thu, 21 Dec 2023 14:15:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nabijaczleweli.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nabijaczleweli.xyz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nabijaczleweli.xyz; s=202305; t=1703168142; bh=e9zgLuGXGOkHT08UsGiv+toaaavLusIfuE7NOP8bEOo=; h=Date:From:Cc:Subject:From; b=Fm3ZJ7Dout40OOeAC7t3f9C8CCRIX0jDilznPUWirzLMyRVLRC0PB4gsFmAH6lWA5 Ad/KyglEkUJBuExxSooSL4Mycy9ZqHu4ABjbsDkoDoACzVP0mQXZ4n62WmAAvVnSHl FgL5UIXI56AwJwXFB/aHZRa8OS8LVZMgWfPqE0ehvQ8nOzUCmKCYBj5xhTuwa3k3pK nnhw2LlRRXiQMlJKO6NwR2LITOYVrE9srLHO3FFpWcjTMpntZ9raGvxYede2MqMOpQ MyotxIrvxGO2mbQCcQZsTclItvQue3qw3O1QB8no1AigRIBb+4EHzlvjeNpJBPz9du tXj/BE+9kAo3A== Received: from tarta.nabijaczleweli.xyz (unknown [192.168.1.250]) by tarta.nabijaczleweli.xyz (Postfix) with ESMTPSA id 353CB13F14; Thu, 21 Dec 2023 15:15:42 +0100 (CET) Date: Thu, 21 Dec 2023 15:15:42 +0100 From: Ahelenia =?utf-8?q?Ziemia=C5=84ska?= <nabijaczleweli@nabijaczleweli.xyz> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Tejun Heo <tj@kernel.org>, linux-kernel@vger.kernel.org Subject: [PATCH] kernfs: fix reference to renamed function Message-ID: <4f2wybrepigxjpuxj4bdkh3qmksetfioedit2bdrswf6b75ebb@tarta.nabijaczleweli.xyz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="swytft7g5yl76e3v" Content-Disposition: inline User-Agent: NeoMutt/20231103-116-3b855e-dirty X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785901350913409432 X-GMAIL-MSGID: 1785901350913409432 |
Series |
kernfs: fix reference to renamed function
|
|
Commit Message
Ahelenia Ziemiańska
Dec. 21, 2023, 2:15 p.m. UTC
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(-)
Comments
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.
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;