Commit 55762690e2696d7b5034d85d1fbeb620841220c9
Committed by
Eric Van Hensbergen
1 parent
dd1a458412
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
net/9p/trans_fd.c
... | ... | @@ -62,13 +62,14 @@ |
62 | 62 | |
63 | 63 | enum { |
64 | 64 | /* Options that take integer arguments */ |
65 | - Opt_port, Opt_rfdno, Opt_wfdno, | |
65 | + Opt_port, Opt_rfdno, Opt_wfdno, Opt_err, | |
66 | 66 | }; |
67 | 67 | |
68 | 68 | static match_table_t tokens = { |
69 | 69 | {Opt_port, "port=%u"}, |
70 | 70 | {Opt_rfdno, "rfdno=%u"}, |
71 | 71 | {Opt_wfdno, "wfdno=%u"}, |
72 | + {Opt_err, NULL}, | |
72 | 73 | }; |
73 | 74 | |
74 | 75 | /** |