bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/6] procfs: enable fsys_set_options


From: Justus Winter
Subject: [PATCH 3/6] procfs: enable fsys_set_options
Date: Thu, 27 Jun 2013 14:31:25 +0200

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

[Prev in Thread] Current Thread [Next in Thread]