lkml.org 
[lkml]   [2023]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH v1 1/6] proc: Fix separator for subset option
Date
Signed-off-by: Alexey Gladkov <legion@kernel.org>
---
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
\
 
 \ /
  Last update: 2023-03-26 23:55    [W:0.083 / U:1.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site