[RFC PATCH v1 1/6] proc: Fix separator for subset option

From: Alexey Gladkov
Date: Wed Jan 25 2023 - 10:31:14 EST


Signed-off-by: Alexey Gladkov <legion@xxxxxxxxxx>
---
fs/proc/root.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/proc/root.c b/fs/proc/root.c
index 3c2ee3eb1138..5f1015b6418d 100644
--- a/fs/proc/root.c
+++ b/fs/proc/root.c
@@ -91,7 +91,7 @@ static int proc_parse_subset_param(struct fs_context *fc, char *value)
struct proc_fs_context *ctx = fc->fs_private;

while (value) {
- char *ptr = strchr(value, ',');
+ char *ptr = strchr(value, '+');

if (ptr != NULL)
*ptr++ = '\0';
--
2.33.6