Skip to content

Commit

Permalink
9p: add missing end-of-options record for trans_fd
Browse files Browse the repository at this point in the history
The list of options that the fd transport accepts is missing end-of-options
marker. This patch adds it.

Signed-off-by: Latchesar Ionkov <[email protected]>
Acked-by: Eric Van Hensbergen <[email protected]>
  • Loading branch information
lionkov authored and ericvh committed Nov 6, 2007
1 parent dd1a458 commit 5576269
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/9p/trans_fd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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},
};

/**
Expand Down

0 comments on commit 5576269

Please sign in to comment.