Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139527
b: refs/heads/master
c: a67d18f
h: refs/heads/master
i:
  139525: 4f03161
  139523: 393e582
  139519: 748b8fb
v: v3
  • Loading branch information
Tom Talpey authored and Trond Myklebust committed Mar 11, 2009
1 parent 3e3f9ca commit 087dd6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 441e3e242903f9b190d5764bed73edb58f977413
refs/heads/master: a67d18f89f5782806135aad4ee012ff78d45aae7
4 changes: 3 additions & 1 deletion trunk/fs/nfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,7 @@ static int nfs_parse_mount_options(char *raw,
case Opt_rdma:
mnt->flags |= NFS_MOUNT_TCP; /* for side protocols */
mnt->nfs_server.protocol = XPRT_TRANSPORT_RDMA;
xprt_load_transport(p);
break;
case Opt_acl:
mnt->flags &= ~NFS_MOUNT_NOACL;
Expand Down Expand Up @@ -1205,20 +1206,21 @@ static int nfs_parse_mount_options(char *raw,
/* vector side protocols to TCP */
mnt->flags |= NFS_MOUNT_TCP;
mnt->nfs_server.protocol = XPRT_TRANSPORT_RDMA;
xprt_load_transport(string);
break;
default:
errors++;
dfprintk(MOUNT, "NFS: unrecognized "
"transport protocol\n");
}
kfree(string);
break;
case Opt_mountproto:
string = match_strdup(args);
if (string == NULL)
goto out_nomem;
token = match_token(string,
nfs_xprt_protocol_tokens, args);
kfree(string);

switch (token) {
case Opt_xprt_udp:
Expand Down

0 comments on commit 087dd6c

Please sign in to comment.