nfs[23] tcp breakage in mount with binary options
authorAl Viro <viro@ZenIV.linux.org.uk>
Thu, 24 Sep 2009 18:58:42 +0000 (14:58 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 24 Sep 2009 18:58:42 +0000 (14:58 -0400)
commit36dd2fdb37efdab15844eb72026f8ce3aa0fb560
tree02639a0fc3dde84bf94a6dcb430ed61869759561
parent7a73fdde3990ea840b604248362876437ea8ce80
nfs[23] tcp breakage in mount with binary options

We forget to set nfs_server.protocol in tcp case when old-style binary
options are passed to mount.  The thing remains zero and never validated
afterwards.  As the result, we hit BUG in fs/nfs/client.c:588.

Breakage has been introduced in NFS: Add nfs_alloc_parsed_mount_data
merged yesterday...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c