summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-06-29 22:14:13 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-06-29 22:14:13 +0200
commite03fc07ab9285a8aaf0d801fc8f1f86d203f6129 (patch)
treee2da6b915a8a92345366379fb1a90a67b7fb74bc
parentb8fa4e0ea428454a59ff887e925f519a01f6294c (diff)
procfs: enable fsys_set_options
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.
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 0892d369..1b19c013 100644
--- a/main.c
+++ b/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)
{