Commit 9892c3b0 authored by Jasper Spaans's avatar Jasper Spaans Committed by Linus Torvalds

[PATCH] Fix up unattended nfs3/krb5 mounts

The patch from Frank was missing the auth flavor argument to
nfs_sb_init().  Trivial fix follows.

[ Side note: the code mixes the spellings 'flavor' and 'flavour', which
  is somewhat confusing.  That should probably be fixed to avoid confusion. ]
parent 70128a2e
...@@ -1441,7 +1441,7 @@ static int nfs4_fill_super(struct super_block *sb, struct nfs4_mount_data *data, ...@@ -1441,7 +1441,7 @@ static int nfs4_fill_super(struct super_block *sb, struct nfs4_mount_data *data,
if ((server->idmap = nfs_idmap_new(server)) == NULL) if ((server->idmap = nfs_idmap_new(server)) == NULL)
printk(KERN_WARNING "NFS: couldn't start IDmap\n"); printk(KERN_WARNING "NFS: couldn't start IDmap\n");
err = nfs_sb_init(sb); err = nfs_sb_init(sb, authflavour);
if (err == 0) if (err == 0)
return 0; return 0;
rpciod_down(); rpciod_down();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment