summaryrefslogtreecommitdiff
path: root/main.c
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
commitfd1f64a2e9e794a0184238bf3a0c4b7f5c6f963c (patch)
treea47c947be0c92e2ecf2ee0fb6f1431a88348cc63 /main.c
parentea6ea2f554bc81b856d5286c23c2b4c8ba303fb9 (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.
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 0892d36..1b19c01 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)
{