Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158609
b: refs/heads/master
c: 5eecfde
h: refs/heads/master
i:
  158607: 868ff0a
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Aug 24, 2009
1 parent d263758 commit ea52158
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 405d8f8b1d936414da2093d4149ff790ff3f84a5
refs/heads/master: 5eecfde615894dc1c2e3f85b515a96ae2e408fb5
10 changes: 10 additions & 0 deletions trunk/fs/nfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1337,6 +1337,16 @@ static int nfs_walk_authlist(struct nfs_parsed_mount_data *args,
{
unsigned int i, j, server_authlist_len = *(request->auth_flav_len);

/*
* Certain releases of Linux's mountd return an empty
* flavor list. To prevent behavioral regression with
* these servers (ie. rejecting mounts that used to
* succeed), revert to pre-2.6.32 behavior (no checking)
* if the returned flavor list is empty.
*/
if (server_authlist_len == 0)
return 0;

/*
* We avoid sophisticated negotiating here, as there are
* plenty of cases where we can get it wrong, providing
Expand Down

0 comments on commit ea52158

Please sign in to comment.