From b82f12741cffd5498b5ea2e87cc4fb809969d2ee Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sat, 29 Jun 2013 21:34:43 +0200 Subject: 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. --- tmpfs/tmpfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmpfs') 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; -- cgit v1.2.3