9p: add missing end-of-options record for trans_fd
authorLatchesar Ionkov <lucho@ionkov.net>
Tue, 6 Nov 2007 14:02:53 +0000 (08:02 -0600)
committerEric Van Hensbergen <ericvh@gmail.com>
Tue, 6 Nov 2007 14:02:53 +0000 (08:02 -0600)
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>
net/9p/trans_fd.c

index 30269a4ff22a93e781be185df453c60f88837ba8..62332ed9da4afcd7e8b06577f0e4ec47d07ed171 100644 (file)
@@ -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},
 };
 
 /**