mirror of
https://gitee.com/openharmony/kernel_linux
synced 2024-12-03 19:22:57 +00:00
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>
This commit is contained in:
parent
dd1a458412
commit
55762690e2
@ -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},
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user