Skip to contentSkip to conversation

9p: add missing end-of-options record for trans_fd

PATCH New Latchesar Ionkov 1 participant 1 message Oct 26, 2007

Subsystems (2)
lore
Share & tools
lore

Latchesar Ionkov

author maintainer
#0 lore raw

PATCH 1/1 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.

---
commit 70ec0c7936c2516d128fdb1a32d749071b8846ec
tree 8de5495f83b94096825f8bfe0767e4fcbaf36ef3
parent 25ed88ed319e40fb6426e2aaefcc5f136aadd4ee author Latchesar Ionkov <[email protected]> 1193438452 -0600 committer Latchesar Ionkov <[email protected]> 1193438452 -0600

 net/9p/trans_fd.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
net/9p/trans_fd.c +2 -1
index 30269a4..62332ed 100644
@@ -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},
 };
 
 /**