Make procfs translators handle fsys_set_options requests by pointing
netfs_runtime_argp to our argp struct.

* procfs/main.c (netfs_runtime_argp): New variable.
---
 procfs/main.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/procfs/main.c b/procfs/main.c
index f472f04..6251c83 100644
--- a/procfs/main.c
+++ b/procfs/main.c
@@ -146,6 +146,9 @@ struct argp argp = {
   },
 };
 
+/* Used by netfs_set_options to handle runtime option parsing.  */
+struct argp *netfs_runtime_argp = &argp;
+
 error_t
 root_make_node (struct ps_context *pc, struct node **np)
 {
-- 
1.7.10.4


Reply via email to