diff options
author | 2007-11-06 08:02:53 -0600 | |
---|---|---|
committer | 2007-11-06 08:02:53 -0600 | |
commit | 55762690e2696d7b5034d85d1fbeb620841220c9 (patch) | |
tree | 4c0f38163dfb34424f35e4e31fcac9ec6654ac7f /net/9p/trans_fd.c | |
parent | 9p: return NULL when trans not found (diff) | |
download | linux-55762690e2696d7b5034d85d1fbeb620841220c9.tar.gz linux-55762690e2696d7b5034d85d1fbeb620841220c9.tar.bz2 linux-55762690e2696d7b5034d85d1fbeb620841220c9.zip |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c index 30269a4ff22a..62332ed9da4a 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}, }; /** |