[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tmpfs: fix parsing of fsys_set_options requests
From: |
Justus Winter |
Subject: |
[PATCH] tmpfs: fix parsing of fsys_set_options requests |
Date: |
Thu, 27 Jun 2013 15:06:28 +0200 |
Formerly setting the options using fsys_set_options did not work
because runtime_argp.options was set to 0. This fixes "remounting" of
tmpfs translators.
* tmpfs/tmpfs.c (runtime_argp): Use options as option list.
---
tmpfs/tmpfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tmpfs/tmpfs.c b/tmpfs/tmpfs.c
index 36fa133..7da3dd5 100644
--- a/tmpfs/tmpfs.c
+++ b/tmpfs/tmpfs.c
@@ -327,7 +327,7 @@ m or M for megabytes, g or G for gigabytes.",
/* Similarly at runtime. */
static const struct argp_child runtime_children[] =
{{&diskfs_std_runtime_argp}, {0}};
-static struct argp runtime_argp = {0, parse_opt, 0, 0, runtime_children};
+static struct argp runtime_argp = {options, parse_opt, 0, 0, runtime_children};
struct argp *diskfs_runtime_argp = (struct argp *)&runtime_argp;
--
1.7.10.4
- [PATCH] tmpfs: fix parsing of fsys_set_options requests,
Justus Winter <=