summaryrefslogtreecommitdiffstats
path: root/net/9p/trans_fd.c
diff options
context:
space:
mode:
authorLatchesar Ionkov <lucho@ionkov.net>2007-11-06 08:02:53 -0600
committerEric Van Hensbergen <ericvh@gmail.com>2007-11-06 08:02:53 -0600
commit55762690e2696d7b5034d85d1fbeb620841220c9 (patch)
tree4c0f38163dfb34424f35e4e31fcac9ec6654ac7f /net/9p/trans_fd.c
parentdd1a458412c358f8b4550d7e7df88982c88ce408 (diff)
downloadop-kernel-dev-55762690e2696d7b5034d85d1fbeb620841220c9.zip
op-kernel-dev-55762690e2696d7b5034d85d1fbeb620841220c9.tar.gz
9p: add missing end-of-options record for trans_fd
The list of options that the fd transport accepts is missing end-of-options marker. This patch adds it. Signed-off-by: Latchesar Ionkov <lucho@ionkov.net> Acked-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p/trans_fd.c')
-rw-r--r--net/9p/trans_fd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c
index 30269a4..62332ed 100644
--- a/net/9p/trans_fd.c
+++ b/net/9p/trans_fd.c
@@ -62,13 +62,14 @@ struct p9_trans_fd {
enum {
/* Options that take integer arguments */
- Opt_port, Opt_rfdno, Opt_wfdno,
+ Opt_port, Opt_rfdno, Opt_wfdno, Opt_err,
};
static match_table_t tokens = {
{Opt_port, "port=%u"},
{Opt_rfdno, "rfdno=%u"},
{Opt_wfdno, "wfdno=%u"},
+ {Opt_err, NULL},
};
/**
OpenPOWER on IntegriCloud