Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158615
b: refs/heads/master
c: 2ecda72
h: refs/heads/master
i:
  158613: 9d192b1
  158611: 51d3aaf
  158607: 868ff0a
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Sep 8, 2009
1 parent 86b3db3 commit bc902a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 764302ccb88dd0df062eccd507b6c6de24f1c560
refs/heads/master: 2ecda72b49a0849ce41e7fa1fa974a245b9119f8
6 changes: 6 additions & 0 deletions trunk/fs/nfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -2321,6 +2321,12 @@ static int nfs4_validate_text_mount_data(void *options,

nfs4_validate_mount_flags(args);

if (args->version != 4) {
dfprintk(MOUNT,
"NFS4: Illegal mount version\n");
return -EINVAL;
}

if (args->auth_flavor_len > 1) {
dfprintk(MOUNT,
"NFS4: Too many RPC auth flavours specified\n");
Expand Down

0 comments on commit bc902a6

Please sign in to comment.