[Devel] [PATCH rh9 4/4] connector: Rename proc_net_create_*() helpers

Konstantin Khorenko khorenko at virtuozzo.com
Thu Aug 11 14:40:47 MSK 2022


To_merge: b48888bd1ebe ("connector: containerize "connector" proc entry")

Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 drivers/connector/connector.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/connector/connector.c b/drivers/connector/connector.c
index 7396ad21e905..539c486534b5 100644
--- a/drivers/connector/connector.c
+++ b/drivers/connector/connector.c
@@ -308,7 +308,7 @@ static int cn_init_ve(void *data)
 
 	ve->cn->cn_already_initialized = 1;
 
-	if (!proc_net_create_single("connector", S_IRUGO, net->proc_net,
+	if (!proc_ve_create_single("connector", S_IRUGO, net->proc_net,
 				cn_proc_show)) {
 		err = -ENOMEM;
 		goto free_cdev;
-- 
2.31.1



More information about the Devel mailing list