Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34770
b: refs/heads/master
c: 36b15c5
h: refs/heads/master
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Sep 23, 2006
1 parent f56026c commit fed1f46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 738a35195941ecf604d3070e2a053e1df3de350b
refs/heads/master: 36b15c54cd0d6f707a3ac03e4a2a60bb530a95b9
6 changes: 4 additions & 2 deletions trunk/fs/nfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,12 +471,14 @@ static int nfs_validate_mount_data(struct nfs_mount_data *data,
data->version);
return -EINVAL;
}
/* Fill in pseudoflavor for mount version < 5 */
data->pseudoflavor = RPC_AUTH_UNIX;
case 5:
memset(data->context, 0, sizeof(data->context));
}

/* Set the pseudoflavor */
if (!(data->flags & NFS_MOUNT_SECFLAVOUR))
data->pseudoflavor = RPC_AUTH_UNIX;

#ifndef CONFIG_NFS_V3
/* If NFSv3 is not compiled in, return -EPROTONOSUPPORT */
if (data->flags & NFS_MOUNT_VER3) {
Expand Down

0 comments on commit fed1f46

Please sign in to comment.