[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
- [PATCH 1/6] procfs: fix the error handling in argp_parser, (continued)
- [PATCH 1/6] procfs: fix the error handling in argp_parser, Justus Winter, 2013/06/28
- [PATCH 3/6] procfs: enable fsys_set_options, Justus Winter, 2013/06/28
- [PATCH 2/6] procfs: keep old config values if the parsing fails, Justus Winter, 2013/06/28
- [PATCH 5/6] procfs: define macros for the default argument values, Justus Winter, 2013/06/28
- [PATCH 4/6] procfs: handle the --update parameter, Justus Winter, 2013/06/28
- [PATCH 6/6] procfs: provide a more meaningful response to fsys_get_options, Justus Winter, 2013/06/28
- Re: [PATCH 1/6] procfs: fix the error handling in argp_parser, Samuel Thibault, 2013/06/29
- Re: [PATCH 1/6] procfs: fix the error handling in argp_parser, Justus Winter, 2013/06/29
- Re: [PATCH 1/6] procfs: fix the error handling in argp_parser, Samuel Thibault, 2013/06/30
[PATCH 2/6] procfs: keep old config values if the parsing fails, Justus Winter, 2013/06/27
[PATCH 3/6] procfs: enable fsys_set_options,
Justus Winter <=
[PATCH 5/6] procfs: define macros for the default argument values, Justus Winter, 2013/06/27
[PATCH 6/6] procfs: provide a more meaningful response to fsys_get_options, Justus Winter, 2013/06/27
[PATCH 4/6] procfs: handle the --update parameter, Justus Winter, 2013/06/27
Re: some work on procfs, Samuel Thibault, 2013/06/29