9p: default 9p transport module fix
authorAbhishek Kulkarni <adkulkar@umail.iu.edu>
Tue, 14 Jul 2009 18:24:10 +0000 (13:24 -0500)
committerEric Van Hensbergen <ericvh@vTrogdor.(none)>
Tue, 14 Jul 2009 20:54:41 +0000 (15:54 -0500)
commita17d1720aa35623a9bef3707b36242706714bca5
tree476f9a29c6b8274227e5adab3c08a48317e8eca7
parent4b0a84043e0c14088958fddb62f416d050368011
9p: default 9p transport module fix

The default 9p transport module is not chosen unless an option parameter (any)
is passed to mount, which thus returns a ENOPROTOSUPPORT. This fix moves the
check out of parse_opts into p9_client_create.

Signed-off-by: Abhishek Kulkarni <adkulkar@umail.iu.edu>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/client.c