[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240613014937.1326020-2-yukuai1@huaweicloud.com>
Date: Thu, 13 Jun 2024 09:49:31 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: axboe@...nel.dk,
tj@...nel.org,
josef@...icpanda.com,
gregkh@...uxfoundation.org,
lizefan.x@...edance.com,
hannes@...xchg.org
Cc: linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org,
cgroups@...r.kernel.org,
yukuai3@...wei.com,
yukuai1@...weicloud.com,
yi.zhang@...wei.com,
yangerkun@...wei.com
Subject: [PATCH RFC -next 1/7] kernfs: export pr_cont_kernfs_path()
From: Yu Kuai <yukuai3@...wei.com>
This helper is used in iocost, prepare to build iocost as kernel module.
Signed-off-by: Yu Kuai <yukuai3@...wei.com>
---
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);
/**
* kernfs_get_parent - determine the parent node and pin it
--
2.39.2
Powered by blists - more mailing lists