Commit 55762690 authored by Latchesar Ionkov's avatar Latchesar Ionkov Committed by Eric Van Hensbergen

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: default avatarLatchesar Ionkov <lucho@ionkov.net>
Acked-by: default avatarEric Van Hensbergen <ericvh@gmail.com>
parent dd1a4584
...@@ -62,13 +62,14 @@ struct p9_trans_fd { ...@@ -62,13 +62,14 @@ struct p9_trans_fd {
enum { enum {
/* Options that take integer arguments */ /* Options that take integer arguments */
Opt_port, Opt_rfdno, Opt_wfdno, Opt_port, Opt_rfdno, Opt_wfdno, Opt_err,
}; };
static match_table_t tokens = { static match_table_t tokens = {
{Opt_port, "port=%u"}, {Opt_port, "port=%u"},
{Opt_rfdno, "rfdno=%u"}, {Opt_rfdno, "rfdno=%u"},
{Opt_wfdno, "wfdno=%u"}, {Opt_wfdno, "wfdno=%u"},
{Opt_err, NULL},
}; };
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment