diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-06-29 21:34:43 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-06-29 21:34:43 +0200 |
commit | b82f12741cffd5498b5ea2e87cc4fb809969d2ee (patch) | |
tree | 6e39edc8121862bf2d4385bb798453c0e3a794c7 | |
parent | 18affff4633752370895e39e23a2c7e0f30bfc02 (diff) |
tmpfs: fix parsing of fsys_set_options requests
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.
-rw-r--r-- | tmpfs/tmpfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpfs/tmpfs.c b/tmpfs/tmpfs.c index 36fa1338..7da3dd58 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; |