Received: by 2002:ab2:6f44:0:b0:1fd:c486:4f03 with SMTP id l4csp184444lqq; Wed, 12 Jun 2024 22:56:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZDtxGEBi5vCJwDY0sSAxDIFcBvhrgLr5W4OrI/IQ26FmF6H8G8bwEsMtjVcWjM1IhkHaRf0kW2IULIoeX1rmTz0aUPEZgZlzhGTaJPg== X-Google-Smtp-Source: AGHT+IHFMdlVSj6YZIYHxf+cIFp3KPsju3CyQ6xzNYpIeek5SoxdHQ1PyjYdfi0FljNorEW6pXwQ X-Received: by 2002:a05:6214:2b8d:b0:6b0:9250:1ced with SMTP id 6a1803df08f44-6b1a6587a59mr41028136d6.34.1718258165250; Wed, 12 Jun 2024 22:56:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718258165; cv=pass; d=google.com; s=arc-20160816; b=wDXBw3eulJOp3mXZi4XF0nw6fONzEc370jdHM92knBVdc3bQeExYiVefjFB+O+6MqP VWhQC/bbx/xUXCCBAlAIHoxq0UceHeRjfL4SAuYIB9POhAG3jkh7ifpIDDU7r6MOGqYu 5GVXd1OyKl/qdpJr13iW6xCvzogJNYEZHnFjJ25weBirn+bwtgc0Xyh+ob60SADfpeye unqT2MCDTuUnFZ6VDIBmtQ14G836FyiBQy3P6oEznQn3PKSKK/2zzhvCbVvLPbioDSyK NXvQlYtSn4KEU9Rc7YrNcOiSMWwr6VMgKGL6KyvAKHdbovVLbDNWKWHaoSMcs/xkg710 eJrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XAd/XbZIDVYHxx6qJwzw+bRB1v1OgGSkh6HwR8nKxwU=; fh=U4nFVOyMbGuLIrZBaTnYPbopMTPPuR/3+ysMacQWuJ0=; b=0Jq0nPQ6UUY3Ic23mRb6I4RKF04oZpFFvyplJu/9OAv7h2jcPSfATzwCxCV0UjD6vH bZFXzgGoz+4lUGElVHj4zIHqYZartFaoP8NJ0+egnswEjqgeLmuwQ8DVWe12P/vBMEbY zkNqCQlGXpfd57paY0UirMLVqiH1Ew9+zLtk64Eb2E59LdiF3Cer0W26CJeiAQ8Q2xtH y3LCCE/xL1ssZwVFggsDLO2Tq5WJ5+/bm91A1zCZe8tG/Vf/iTTtZGpLDnzDMYNl2jGx aySeNzXM8ICx8SmxhQQ8gs4zv0qzgcyCzUqePZiVPhL7dTy2WST9Y2E8MVoTaHU7UX0+ RY7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tLNSuK4S; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-212586-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212586-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-441f2eab0f7si7443581cf.375.2024.06.12.22.56.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 22:56:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212586-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tLNSuK4S; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-212586-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212586-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id EDEF11C21964 for ; Thu, 13 Jun 2024 05:56:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B3211369B0; Thu, 13 Jun 2024 05:55:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="tLNSuK4S" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7C44613666E; Thu, 13 Jun 2024 05:55:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718258154; cv=none; b=CWi1uNygem7Bp1UBRpmNg5E2IAY0nySloVr1SyppmOaoGs+wiXVYvSMBqbtQDmS2WzT/r2gWLZ+F//HX+nlYYy3whEyAm2SylKBW8iS+jYt08O0hy9uf4tAmdZ/yBSFLyEMDrT6ZCHAEoC/Cuvl38h+kD3tYDmXOC9kkyIKEajM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718258154; c=relaxed/simple; bh=KN4qmdh/FyDgOSKi+sxrz5gqS8uoqP/5WyHmVrg1EdY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bCE0Jk6nlCW4FLS7TAX4nJ8vDnxvDJGtrbxdPAp8Vsk1jEndc8J3uRe8OP3jNoA7egGFxiyx3U3flL8RIVnG/AnoAtD8epewqmML+Cu93GZoqlwHSuaC7O9+uKkH0E+EMeY/bxHVb9ofV2eCLxphO7MG0uzMT2PkuQBosyEzfFI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tLNSuK4S; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BC69C2BBFC; Thu, 13 Jun 2024 05:55:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718258154; bh=KN4qmdh/FyDgOSKi+sxrz5gqS8uoqP/5WyHmVrg1EdY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tLNSuK4SrtIz4iPeZfziy2wNdi/nRPGrK/WdXTG5iNXf4Ag71rKLafE+lB6/6+yqo 3lVVZKszv3Lso7yve1Z/spq72zo1gR3Z8VAimKSc0Wj9uDaq6Nc1XPqVcZhC/afh8z eX+H5DJIjwgU4PtiTO/qqanMqRQUS1VHiviZ5Zn8= Date: Thu, 13 Jun 2024 07:55:51 +0200 From: Greg KH To: Yu Kuai Cc: axboe@kernel.dk, tj@kernel.org, josef@toxicpanda.com, lizefan.x@bytedance.com, hannes@cmpxchg.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, yukuai3@huawei.com, yi.zhang@huawei.com, yangerkun@huawei.com Subject: Re: [PATCH RFC -next 1/7] kernfs: export pr_cont_kernfs_path() Message-ID: <2024061314-moodiness-snowflake-14c5@gregkh> References: <20240613014937.1326020-1-yukuai1@huaweicloud.com> <20240613014937.1326020-2-yukuai1@huaweicloud.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240613014937.1326020-2-yukuai1@huaweicloud.com> On Thu, Jun 13, 2024 at 09:49:31AM +0800, Yu Kuai wrote: > From: Yu Kuai > > This helper is used in iocost, prepare to build iocost as kernel module. > > Signed-off-by: Yu Kuai > --- > fs/kernfs/dir.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/kernfs/dir.c b/fs/kernfs/dir.c > index 458519e416fe..84ad163a4281 100644 > --- a/fs/kernfs/dir.c > +++ b/fs/kernfs/dir.c > @@ -279,6 +279,7 @@ void pr_cont_kernfs_path(struct kernfs_node *kn) > out: > spin_unlock_irqrestore(&kernfs_pr_cont_lock, flags); > } > +EXPORT_SYMBOL_GPL(pr_cont_kernfs_path); This isn't the helper that needs to be exported, it's a include wrapper that is using this for cgroups. Please document this much better and perhaps, just fix up the cgroups code instead? thanks, greg k-h